mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-24 09:50:29 +00:00
Add missing line breaks feature to Draftail toolbar
This commit is contained in:
parent
d1f3eebbab
commit
fe21055b8e
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ export const initEditor = (fieldName, options = {}) => {
|
|||
onSave={serialiseInputValue}
|
||||
placeholder={STRINGS.WRITE_HERE}
|
||||
spellCheck={true}
|
||||
enableLineBreak={true}
|
||||
// If increasing above 4, we will need to add styles for the extra nesting levels.
|
||||
maxListNesting={4}
|
||||
// Draft.js + IE 11 presents some issues with pasting rich text. Disable rich paste there.
|
||||
|
|
|
|||
Loading…
Reference in a new issue