From dd0f330f5fd61d74b140bc3ed63c57acc013d6f6 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Wed, 16 Nov 2016 05:09:00 +0100 Subject: [PATCH] Added simple editor form --- src/Forms/TextAreaEditor.php | 2 +- src/Forms/TextAreaEditorSimple.php | 128 +++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 src/Forms/TextAreaEditorSimple.php diff --git a/src/Forms/TextAreaEditor.php b/src/Forms/TextAreaEditor.php index 8d3cbbb..f126b64 100644 --- a/src/Forms/TextAreaEditor.php +++ b/src/Forms/TextAreaEditor.php @@ -113,7 +113,7 @@ class TextAreaEditor extends BaseForm { } */ ?> -

+

load_image_url=$load_image_url; + + } + + public function form() + { + + //PhangoVar::$arr_cache_jscript[]='tinymce_path.js'; + + if(!isset(View::$header['ckeditor'])) + { + + View::$js[]='jquery.min.js'; + View::$js[]='ckeditor/ckeditor.js'; + + ob_start(); + + ?> + + + + + + +

+