From 552e32dabbf7bc7ad4dd5f0cd5a8a5120f9f1e81 Mon Sep 17 00:00:00 2001 From: craigray Date: Wed, 7 Feb 2018 10:22:54 +1100 Subject: [PATCH] Hill Range CKEditor Recipe --- .../config/packages/hillrange_ck_editor.yaml | 17 +++++++++++++++++ hillrange/ckeditor/0.1/manifest.json | 13 +++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 hillrange/ckeditor/0.1/config/packages/hillrange_ck_editor.yaml create mode 100644 hillrange/ckeditor/0.1/manifest.json diff --git a/hillrange/ckeditor/0.1/config/packages/hillrange_ck_editor.yaml b/hillrange/ckeditor/0.1/config/packages/hillrange_ck_editor.yaml new file mode 100644 index 00000000..14bb2450 --- /dev/null +++ b/hillrange/ckeditor/0.1/config/packages/hillrange_ck_editor.yaml @@ -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 \ No newline at end of file diff --git a/hillrange/ckeditor/0.1/manifest.json b/hillrange/ckeditor/0.1/manifest.json new file mode 100644 index 00000000..b09092b4 --- /dev/null +++ b/hillrange/ckeditor/0.1/manifest.json @@ -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" + } +}