arillo / silverstripe-xhtmleditor-config
XHTMLEditorConfig
Package info
github.com/arillo/silverstripe-xhtmleditor-config
Type:silverstripe-module
pkg:composer/arillo/silverstripe-xhtmleditor-config
0.0.2
2017-05-23 09:00 UTC
This package is auto-updated.
Last update: 2026-03-09 05:35:23 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