N°5298 - Update CKEditor to version 5

This commit is contained in:
Stephen Abello
2024-03-11 16:48:50 +01:00
parent 14c637c7f3
commit dc553ca83c
1082 changed files with 82130 additions and 23369 deletions

View File

@@ -1,4 +1,10 @@
{% extends "base/components/input/layout.html.twig" %}
{% block iboInput %}
<textarea id="{{ oUIBlock.GetId() }}" class="htmlEditor ibo-input-richtext-placeholder" name="{{ oUIBlock.GetName() }}">{{ oUIBlock.GetValue() }}</textarea>
{# Items template #}
<template id="{{ oUIBlock.GetId() }}_items_template">
{% include 'application/object/set/option_renderer.html.twig' %}
</template>
{% endblock %}

View File

@@ -1 +1 @@
$('#{{ oUIBlock.GetId() }}').ckeditor(function() { /* callback code */ }, {{ oUIBlock.GetConfig()|json_encode|raw }});
CombodoCKEditorHandler.CreateInstance('#{{ oUIBlock.GetId() }}', {{ oUIBlock.GetConfig()|json_encode|raw }});