Add missing line breaks feature to Draftail toolbar

pull/4136/head
Thibaud Colas 2018-01-18 18:17:18 +02:00
rodzic d1f3eebbab
commit fe21055b8e
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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