N°2847 Add RichText input

This commit is contained in:
Stephen Abello
2020-09-30 09:40:09 +02:00
parent 12bf77d9ca
commit fd3f972948
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{% extends "components/input/layout.html.twig" %}
{% block iboInput %}
<textarea id="{{ oUIBlock.GetId() }}" class="htmlEditor" title="$sHelpText" name="{{ oUIBlock.GetName() }}" ></textarea>
{% endblock %}

View File

@@ -0,0 +1 @@
$('#{{ oUIBlock.GetId() }}').ckeditor(function() { /* callback code */ }, {'language': 'en', 'contentsLanguage' : 'en', 'extraPlugins' : 'disabler,codesnippet'});