From b1ca6e4cfbc1dacb10086c693c49b1ecd3ad2bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Mon, 9 Oct 2017 00:14:48 +0200 Subject: [PATCH] FEATURE: allow multiple ckEditor instances --- .../views/admin/snippets/ckEditor.blade.php | 36 ++++++++++++------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/resources/views/admin/snippets/ckEditor.blade.php b/resources/views/admin/snippets/ckEditor.blade.php index 8c780a9f..ccb2e580 100644 --- a/resources/views/admin/snippets/ckEditor.blade.php +++ b/resources/views/admin/snippets/ckEditor.blade.php @@ -1,4 +1,7 @@ - +@if (!defined('CK_EDITOR_INITIALIZED')) + + @php define('CK_EDITOR_INITIALIZED', true) @endphp +@endif \ No newline at end of file