Commit 417fa680 authored by Romain Courteaud's avatar Romain Courteaud

erp5_xhtml_style: remove the top toolbar of readonly ckeditor

parent b2aac901
...@@ -109,11 +109,12 @@ ...@@ -109,11 +109,12 @@
] ]
}, },
READONLY_CONFIGURATION = { READONLY_CONFIGURATION = {
toolbar: [],
allowedContent: true, allowedContent: true,
readOnly: true, readOnly: true,
// Remove the WebSpellChecker and SpellCheckAsYouType (SCAYT) plugins. // Remove the WebSpellChecker and SpellCheckAsYouType (SCAYT) plugins.
removePlugins: 'elementspath,scayt,wsc', removePlugins: 'elementspath,scayt,wsc,toolbar,pastefromword,' +
'tableselection,uploadwidget,clipboard,pastetext,' +
'widget,uploadimage',
startupShowBorders: false, startupShowBorders: false,
startupOutlineBlocks: false, startupOutlineBlocks: false,
contentsCss: '' contentsCss: ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment