Skip to content

Instantly share code, notes, and snippets.

@helios-ag
Created June 9, 2015 04:51
Show Gist options
  • Save helios-ag/2abd77f3d6e02d0ea8ab to your computer and use it in GitHub Desktop.
Save helios-ag/2abd77f3d6e02d0ea8ab to your computer and use it in GitHub Desktop.
Tinymce/Elfinder configuration
stfalcon_tinymce:
include_jquery: true
tinymce_jquery: true
selector: ".tinymce"
theme:
simple: ~
advanced:
plugins:
- "advlist autolink lists link image charmap print preview hr anchor pagebreak"
- "searchreplace wordcount visualblocks visualchars code fullscreen"
- "insertdatetime media nonbreaking save table contextmenu directionality"
- "emoticons template paste textcolor"
file_browser_callback : elFinderBrowser
fm_elfinder:
instances:
tinymce:
locale: %locale%
editor: tinymce4 # other choices are tinymce or simple
include_assets: true
fullscreen: true
relative_path: true
path_prefix: /uploads/
connector:
debug: true # defaults to false
roots: # at least one root must be defined
uploads:
show_hidden: false
driver: LocalFileSystem
path: uploads/elfinder
disabled_commands: [mkfile]
upload_allow: ['image/png', 'image/jpg', 'image/jpeg']
upload_deny: ['all']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment