Hill Range CKEditor Recipe

This commit is contained in:
craigray
2018-02-07 10:22:54 +11:00
parent 454bb766a0
commit 552e32dabb
2 changed files with 30 additions and 0 deletions
@@ -0,0 +1,17 @@
hillrange_ck_editor:
default_config: hillrange
configs:
hillrange:
toolbar: [
['Styles','Format','Font','FontSize'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Undo','Redo','-','Cut','Copy','Paste','PasteText','Find','Replace','-','Outdent','Indent','-','Print','-','Maximize'],
'/',
['NumberedList','BulletedList','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Image','Table','-','Link','Flash','Smiley','TextColor','BGColor','Source']
]
uiColor: "ddcccc"
twig:
paths:
'%kernel.project_dir%/templates/bundles/HillrangeCKEditor': HillrangeCKEditor
'%kernel.project_dir%/vendor/hillrange/ckeditor/Resources/views': HillrangeCKEditor
+13
View File
@@ -0,0 +1,13 @@
{
"bundles":
"Hillrange\\CKEditor\\HillrangeCKEditorBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"composer-scripts": {
"ckeditor:install": "symfony-cmd",
"make cache-warmup": "script",
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
}
}