mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°2847 Add RichText input
This commit is contained in:
4
templates/components/input/richtext/layout.html.twig
Normal file
4
templates/components/input/richtext/layout.html.twig
Normal 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 %}
|
||||
1
templates/components/input/richtext/layout.js.twig
Normal file
1
templates/components/input/richtext/layout.js.twig
Normal file
@@ -0,0 +1 @@
|
||||
$('#{{ oUIBlock.GetId() }}').ckeditor(function() { /* callback code */ }, {'language': 'en', 'contentsLanguage' : 'en', 'extraPlugins' : 'disabler,codesnippet'});
|
||||
Reference in New Issue
Block a user