arillo / silverstripe-xhtmleditor-config
XHTMLEditorConfig
Installs: 131
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 0
Type:silverstripe-module
This package is auto-updated.
Last update: 2024-11-09 02:28:12 UTC
README
Small module to configure the CMS HTMLEditor via a yml file.
Just create a htmleditor.yml file in your mysite/_config folder and configure the possible options.
See this example file as a reference:
--- Name: mysite-editor After: - 'xhtmleditor-config' --- XHTMLEditorConfig: identifier: cms buttons: 1: - undo - redo - separator - cut - copy - paste - pastetext - separator - bold - italic - underline - strikethrough - separator - justifyleft - justifycenter - justifyright - justifyfull - formatselect - separator - bullist - numlist - outdent - indent - blockquote - hr 2: 3: options: paste_text_sticky_default: true
@TODO:
- validate buttons and options