diff --git a/css/backoffice/components/_richtext.scss b/css/backoffice/components/_richtext.scss new file mode 100644 index 000000000..fce428713 --- /dev/null +++ b/css/backoffice/components/_richtext.scss @@ -0,0 +1,4 @@ +/*! + * copyright Copyright (C) 2010-2020 Combodo SARL + * license http://opensource.org/licenses/AGPL-3.0 + */ \ No newline at end of file diff --git a/sources/application/UI/Component/Input/RichText/RichText.php b/sources/application/UI/Component/Input/RichText/RichText.php new file mode 100644 index 000000000..3f4e5c635 --- /dev/null +++ b/sources/application/UI/Component/Input/RichText/RichText.php @@ -0,0 +1,19 @@ + +{% endblock %} \ No newline at end of file diff --git a/templates/components/input/richtext/layout.js.twig b/templates/components/input/richtext/layout.js.twig new file mode 100644 index 000000000..2fe43cdf6 --- /dev/null +++ b/templates/components/input/richtext/layout.js.twig @@ -0,0 +1 @@ +$('#{{ oUIBlock.GetId() }}').ckeditor(function() { /* callback code */ }, {'language': 'en', 'contentsLanguage' : 'en', 'extraPlugins' : 'disabler,codesnippet'}); \ No newline at end of file