mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-09 16:04:45 +00:00
Add missing undo/redo controls in Draftail toolbar
This commit is contained in:
parent
fe21055b8e
commit
dc4e65b3b9
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ export const initEditor = (fieldName, options = {}) => {
|
|||
placeholder={STRINGS.WRITE_HERE}
|
||||
spellCheck={true}
|
||||
enableLineBreak={true}
|
||||
showUndoControl={true}
|
||||
showRedoControl={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