From 311d9a3d19e87df4bb6a47e7451aecbaf5d4c905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor?= Date: Sat, 23 Jul 2016 16:57:52 +0200 Subject: [PATCH] Add a button to temporary disable the editor because of fucking my head too much already. --- plugins/ckeditor_simple/_plugin.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/ckeditor_simple/_plugin.php b/plugins/ckeditor_simple/_plugin.php index 1372360..c4679fa 100644 --- a/plugins/ckeditor_simple/_plugin.php +++ b/plugins/ckeditor_simple/_plugin.php @@ -1,5 +1,9 @@ ', 'ckeditor'); -addHead('', 'ckeditor-adapter'); -addHead(''); \ No newline at end of file +if (!isset($_GET['nocke'])) : + addHead('', 'ckeditor'); + addHead('', 'ckeditor-adapter'); + addHead(''); +else : + addHead(''); +endif;