From cf1e59331b697357e4746b8d0ea7a7b5256d892e Mon Sep 17 00:00:00 2001
From: Henning Leutz <leutz@pcsg.de>
Date: Wed, 2 Jun 2021 09:04:37 +0200
Subject: [PATCH] refactor: allowe figure + figcaption

---
 bin/Editor.js | 2 +-
 composer.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/Editor.js b/bin/Editor.js
index f4d6990..41199d4 100644
--- a/bin/Editor.js
+++ b/bin/Editor.js
@@ -256,7 +256,7 @@ define('package/quiqqer/ckeditor4/bin/Editor', [
                     width              : width,
                     toolbar            : toolbar,
                     allowedContent     : true,
-                    extraAllowedContent: 'iframe(*)[*]{*}; img(*)[*]{*}; script(*)[*]{*}; ins(*)[*]{*}',
+                    extraAllowedContent: 'figure(*)[*]{*}; figcaption; iframe(*)[*]{*}; img(*)[*]{*}; script(*)[*]{*}; ins(*)[*]{*}',
                     protectedSource    : [/<ins[\s|\S]+?<\/ins>/g],
                     stylesSet          : styles,
                     contentsCss        : data.cssFiles || [],
diff --git a/composer.json b/composer.json
index 6893b6b..e713ca1 100644
--- a/composer.json
+++ b/composer.json
@@ -17,7 +17,7 @@
     "require": {
         "quiqqer\/quiqqer": "*",
         "quiqqer\/qui": ">=1|*@dev",
-        "ckeditor\/ckeditor": "4.10.*"
+        "ckeditor\/ckeditor": "4.16.*"
     },
     "autoload": {
         "psr-4": {
-- 
GitLab