Skip to content

Instantly share code, notes, and snippets.

View KeithGillette's full-sized avatar
💭
Incessantly Optimizing

Keith Gillette KeithGillette

💭
Incessantly Optimizing
View GitHub Profile
process.env.ts
@Daenero
Daenero / quill-fix-indent.ts
Created November 13, 2020 14:29
Fix for Quill.js issue with list indent (use of css class instead of pure HTML)
// https://github.com/quilljs/quill/issues/979
interface NestedElement {
content: string;
indent: number;
classes: string;
}
export function quillDecodeIndent(text: string) {
if (!text || text.length === 0) {