kopia lustrzana https://github.com/wagtail/wagtail
Add missing line breaks feature to Draftail toolbar
rodzic
d1f3eebbab
commit
fe21055b8e
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue