https://github.com/arillo/silverstripe-xhtmleditor-config
Configure the SilverStripe default HTMLEditor with ease
https://github.com/arillo/silverstripe-xhtmleditor-config
cms php silverstripe tinymce
Last synced: 5 months ago
JSON representation
Configure the SilverStripe default HTMLEditor with ease
- Host: GitHub
- URL: https://github.com/arillo/silverstripe-xhtmleditor-config
- Owner: arillo
- License: mit
- Created: 2017-05-18T09:53:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T15:18:16.000Z (almost 9 years ago)
- Last Synced: 2025-05-22T11:47:56.987Z (about 1 year ago)
- Topics: cms, php, silverstripe, tinymce
- Language: PHP
- Homepage: https://arillo.github.io/silverstripe-xhtmleditor-config/
- Size: 34.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# SilverStripe XHTMLEditorConfig
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:
```yml
---
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