Skip to content

Instantly share code, notes, and snippets.

@oritromax
Created September 15, 2016 15:30
Show Gist options
  • Save oritromax/a87f9095837afb10418684bf0d27971a to your computer and use it in GitHub Desktop.
Save oritromax/a87f9095837afb10418684bf0d27971a to your computer and use it in GitHub Desktop.
trsteel_ckeditor.yml for Symfony
trsteel_ckeditor:
class: Trsteel\CkeditorBundle\Form\Type\CkeditorType
# transformers: ['html_purifier']
toolbar: ['document', 'clipboard', 'editing', '/', 'basicstyles', 'paragraph', 'links', '/', 'insert', 'styles', 'tools']
toolbar_groups:
document: ['Source','-','Save','-','Templates']
clipboard: ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo']
editing: ['Find','Replace','-','SelectAll']
basicstyles: ['Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat']
paragraph: ['NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft', 'JustifyCenter','JustifyRight','JustifyBlock']
links: ['Link','Unlink','Anchor']
insert: ['Image','Flash','Table','HorizontalRule']
styles: ['Styles','Format']
tools: ['Maximize', 'ShowBlocks']
startup_outline_blocks: true
width: 800 #Integer or %
height: 300 #Integer or %
language: 'en-au'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment