Add missing line breaks feature to Draftail toolbar

This commit is contained in:
Thibaud Colas 2018-01-18 18:17:18 +02:00
parent d1f3eebbab
commit fe21055b8e

View file

@ -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.