From 1cbd0aa2a3a6a8ac8a57a644804493aed9383b4f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 19 Oct 2018 16:35:18 +0200 Subject: [PATCH] W.I.P. implementing TinyMCE editor and deprecating CKEditor --- admin/templates/default/mailaccount.xet | 2 +- api/js/etemplate/et2_widget_ckeditor.js | 352 + api/js/etemplate/et2_widget_htmlarea.js | 394 +- api/js/etemplate/etemplate2.js | 1 + api/js/tinymce/jquery.tinymce.min.js | 1 + api/js/tinymce/langs/readme.md | 3 + api/js/tinymce/license.txt | 504 + api/js/tinymce/plugins/advlist/plugin.min.js | 1 + api/js/tinymce/plugins/anchor/plugin.min.js | 1 + api/js/tinymce/plugins/autolink/plugin.min.js | 1 + .../tinymce/plugins/autoresize/plugin.min.js | 1 + api/js/tinymce/plugins/autosave/plugin.min.js | 1 + api/js/tinymce/plugins/bbcode/plugin.min.js | 1 + api/js/tinymce/plugins/charmap/plugin.min.js | 1 + api/js/tinymce/plugins/code/plugin.min.js | 1 + .../tinymce/plugins/codesample/css/prism.css | 138 + .../tinymce/plugins/codesample/plugin.min.js | 1 + .../tinymce/plugins/colorpicker/plugin.min.js | 1 + .../tinymce/plugins/contextmenu/plugin.min.js | 1 + .../plugins/directionality/plugin.min.js | 1 + .../tinymce/plugins/emoticons/json/emojis.js | 9015 +++++++++++++++++ .../tinymce/plugins/emoticons/plugin.min.js | 1 + api/js/tinymce/plugins/fullpage/plugin.min.js | 1 + .../tinymce/plugins/fullscreen/plugin.min.js | 1 + api/js/tinymce/plugins/help/plugin.min.js | 1 + api/js/tinymce/plugins/hr/plugin.min.js | 1 + api/js/tinymce/plugins/image/plugin.min.js | 1 + .../tinymce/plugins/imagetools/plugin.min.js | 1 + .../tinymce/plugins/importcss/plugin.min.js | 1 + api/js/tinymce/plugins/inlite/plugin.min.js | 1 + .../plugins/insertdatetime/plugin.min.js | 1 + .../plugins/legacyoutput/plugin.min.js | 1 + api/js/tinymce/plugins/link/plugin.min.js | 1 + api/js/tinymce/plugins/lists/plugin.min.js | 1 + api/js/tinymce/plugins/media/plugin.min.js | 1 + .../tinymce/plugins/nonbreaking/plugin.min.js | 1 + .../tinymce/plugins/noneditable/plugin.min.js | 1 + .../tinymce/plugins/pagebreak/plugin.min.js | 1 + api/js/tinymce/plugins/paste/plugin.min.js | 1 + api/js/tinymce/plugins/preview/plugin.min.js | 1 + api/js/tinymce/plugins/print/plugin.min.js | 1 + api/js/tinymce/plugins/save/plugin.min.js | 1 + .../plugins/searchreplace/plugin.min.js | 1 + .../plugins/spellchecker/plugin.min.js | 1 + api/js/tinymce/plugins/tabfocus/plugin.min.js | 1 + api/js/tinymce/plugins/table/plugin.min.js | 1 + api/js/tinymce/plugins/template/plugin.min.js | 1 + .../tinymce/plugins/textcolor/plugin.min.js | 1 + .../tinymce/plugins/textpattern/plugin.min.js | 1 + api/js/tinymce/plugins/toc/plugin.min.js | 1 + .../plugins/visualblocks/css/visualblocks.css | 154 + .../plugins/visualblocks/plugin.min.js | 1 + .../tinymce/plugins/visualchars/plugin.min.js | 1 + .../tinymce/plugins/wordcount/plugin.min.js | 1 + .../skins/oxide/content.inline.min.css | 1 + api/js/tinymce/skins/oxide/content.min.css | 1 + .../skins/oxide/content.mobile.min.css | 1 + api/js/tinymce/skins/oxide/img/anchor.gif | Bin 0 -> 53 bytes api/js/tinymce/skins/oxide/img/loader.gif | Bin 0 -> 2608 bytes api/js/tinymce/skins/oxide/img/object.gif | Bin 0 -> 152 bytes api/js/tinymce/skins/oxide/img/trans.gif | Bin 0 -> 43 bytes api/js/tinymce/skins/oxide/skin.min.css | 1 + .../tinymce/skins/oxide/skin.mobile.min.css | 2 + api/js/tinymce/themes/silver/theme.min.js | 1 + api/js/tinymce/tinymce.min.js | 2 + api/src/Etemplate/Widget/CKEditor.php | 85 + api/src/Etemplate/Widget/HtmlArea.php | 67 +- api/templates/default/etemplate2.css | 1 + mail/inc/class.mail_compose.inc.php | 11 +- mail/js/app.js | 24 +- mail/templates/default/app.css | 7 +- mail/templates/default/compose.xet | 2 +- mail/templates/mobile/app.css | 16 +- mail/templates/pixelegg/app.css | 16 +- mail/templates/pixelegg/app.less | 4 +- 75 files changed, 10515 insertions(+), 335 deletions(-) create mode 100644 api/js/etemplate/et2_widget_ckeditor.js create mode 100644 api/js/tinymce/jquery.tinymce.min.js create mode 100644 api/js/tinymce/langs/readme.md create mode 100644 api/js/tinymce/license.txt create mode 100644 api/js/tinymce/plugins/advlist/plugin.min.js create mode 100644 api/js/tinymce/plugins/anchor/plugin.min.js create mode 100644 api/js/tinymce/plugins/autolink/plugin.min.js create mode 100644 api/js/tinymce/plugins/autoresize/plugin.min.js create mode 100644 api/js/tinymce/plugins/autosave/plugin.min.js create mode 100644 api/js/tinymce/plugins/bbcode/plugin.min.js create mode 100644 api/js/tinymce/plugins/charmap/plugin.min.js create mode 100644 api/js/tinymce/plugins/code/plugin.min.js create mode 100644 api/js/tinymce/plugins/codesample/css/prism.css create mode 100644 api/js/tinymce/plugins/codesample/plugin.min.js create mode 100644 api/js/tinymce/plugins/colorpicker/plugin.min.js create mode 100644 api/js/tinymce/plugins/contextmenu/plugin.min.js create mode 100644 api/js/tinymce/plugins/directionality/plugin.min.js create mode 100644 api/js/tinymce/plugins/emoticons/json/emojis.js create mode 100644 api/js/tinymce/plugins/emoticons/plugin.min.js create mode 100644 api/js/tinymce/plugins/fullpage/plugin.min.js create mode 100644 api/js/tinymce/plugins/fullscreen/plugin.min.js create mode 100644 api/js/tinymce/plugins/help/plugin.min.js create mode 100644 api/js/tinymce/plugins/hr/plugin.min.js create mode 100644 api/js/tinymce/plugins/image/plugin.min.js create mode 100644 api/js/tinymce/plugins/imagetools/plugin.min.js create mode 100644 api/js/tinymce/plugins/importcss/plugin.min.js create mode 100644 api/js/tinymce/plugins/inlite/plugin.min.js create mode 100644 api/js/tinymce/plugins/insertdatetime/plugin.min.js create mode 100644 api/js/tinymce/plugins/legacyoutput/plugin.min.js create mode 100644 api/js/tinymce/plugins/link/plugin.min.js create mode 100644 api/js/tinymce/plugins/lists/plugin.min.js create mode 100644 api/js/tinymce/plugins/media/plugin.min.js create mode 100644 api/js/tinymce/plugins/nonbreaking/plugin.min.js create mode 100644 api/js/tinymce/plugins/noneditable/plugin.min.js create mode 100644 api/js/tinymce/plugins/pagebreak/plugin.min.js create mode 100644 api/js/tinymce/plugins/paste/plugin.min.js create mode 100644 api/js/tinymce/plugins/preview/plugin.min.js create mode 100644 api/js/tinymce/plugins/print/plugin.min.js create mode 100644 api/js/tinymce/plugins/save/plugin.min.js create mode 100644 api/js/tinymce/plugins/searchreplace/plugin.min.js create mode 100644 api/js/tinymce/plugins/spellchecker/plugin.min.js create mode 100644 api/js/tinymce/plugins/tabfocus/plugin.min.js create mode 100644 api/js/tinymce/plugins/table/plugin.min.js create mode 100644 api/js/tinymce/plugins/template/plugin.min.js create mode 100644 api/js/tinymce/plugins/textcolor/plugin.min.js create mode 100644 api/js/tinymce/plugins/textpattern/plugin.min.js create mode 100644 api/js/tinymce/plugins/toc/plugin.min.js create mode 100644 api/js/tinymce/plugins/visualblocks/css/visualblocks.css create mode 100644 api/js/tinymce/plugins/visualblocks/plugin.min.js create mode 100644 api/js/tinymce/plugins/visualchars/plugin.min.js create mode 100644 api/js/tinymce/plugins/wordcount/plugin.min.js create mode 100644 api/js/tinymce/skins/oxide/content.inline.min.css create mode 100644 api/js/tinymce/skins/oxide/content.min.css create mode 100644 api/js/tinymce/skins/oxide/content.mobile.min.css create mode 100644 api/js/tinymce/skins/oxide/img/anchor.gif create mode 100644 api/js/tinymce/skins/oxide/img/loader.gif create mode 100644 api/js/tinymce/skins/oxide/img/object.gif create mode 100644 api/js/tinymce/skins/oxide/img/trans.gif create mode 100644 api/js/tinymce/skins/oxide/skin.min.css create mode 100644 api/js/tinymce/skins/oxide/skin.mobile.min.css create mode 100644 api/js/tinymce/themes/silver/theme.min.js create mode 100644 api/js/tinymce/tinymce.min.js create mode 100644 api/src/Etemplate/Widget/CKEditor.php diff --git a/admin/templates/default/mailaccount.xet b/admin/templates/default/mailaccount.xet index b95c209e4d..ee108b0d9f 100644 --- a/admin/templates/default/mailaccount.xet +++ b/admin/templates/default/mailaccount.xet @@ -39,7 +39,7 @@