mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
feat: Add option to preserve whitespace in parseOptions (#2448)
This commit is contained in:
parent
8db37617d4
commit
285f83e2fa
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ export function useTiptap(options: UseTiptapOptions) {
|
||||||
class: 'content-editor content-rich',
|
class: 'content-editor content-rich',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
parseOptions: {
|
||||||
|
preserveWhitespace: 'full',
|
||||||
|
},
|
||||||
autofocus,
|
autofocus,
|
||||||
editable: true,
|
editable: true,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue