From 8ec5a373e7938643b9e375619e3eddb926920d0e Mon Sep 17 00:00:00 2001 From: Stan Fortonski Date: Sun, 7 Feb 2021 15:22:34 +0100 Subject: [PATCH] Migrate from CKEditor to TinyMCE --- README.md | 2 +- app/Helpers/Helper.php | 2 +- .../Admin/TinymceImageController.php | 15 + app/Http/Middleware/VerifyCsrfToken.php | 2 +- package-lock.json | 11 +- package.json | 4 +- public/js/admin.js | 686 +- public/js/tinymce/icons/default/icons.js | 172 + public/js/tinymce/icons/default/icons.min.js | 1 + public/js/tinymce/icons/default/index.js | 7 + public/js/tinymce/plugins/advlist/index.js | 7 + public/js/tinymce/plugins/advlist/plugin.js | 278 + .../js/tinymce/plugins/advlist/plugin.min.js | 9 + public/js/tinymce/plugins/anchor/index.js | 7 + public/js/tinymce/plugins/anchor/plugin.js | 216 + .../js/tinymce/plugins/anchor/plugin.min.js | 9 + public/js/tinymce/plugins/autolink/index.js | 7 + public/js/tinymce/plugins/autolink/plugin.js | 185 + .../js/tinymce/plugins/autolink/plugin.min.js | 9 + public/js/tinymce/plugins/autoresize/index.js | 7 + .../js/tinymce/plugins/autoresize/plugin.js | 171 + .../tinymce/plugins/autoresize/plugin.min.js | 9 + public/js/tinymce/plugins/autosave/index.js | 7 + public/js/tinymce/plugins/autosave/plugin.js | 212 + .../js/tinymce/plugins/autosave/plugin.min.js | 9 + public/js/tinymce/plugins/bbcode/index.js | 7 + public/js/tinymce/plugins/bbcode/plugin.js | 99 + .../js/tinymce/plugins/bbcode/plugin.min.js | 9 + public/js/tinymce/plugins/charmap/index.js | 7 + public/js/tinymce/plugins/charmap/plugin.js | 1706 + .../js/tinymce/plugins/charmap/plugin.min.js | 9 + public/js/tinymce/plugins/code/index.js | 7 + public/js/tinymce/plugins/code/plugin.js | 92 + public/js/tinymce/plugins/code/plugin.min.js | 9 + public/js/tinymce/plugins/codesample/index.js | 7 + .../js/tinymce/plugins/codesample/plugin.js | 2104 + .../tinymce/plugins/codesample/plugin.min.js | 9 + .../js/tinymce/plugins/colorpicker/index.js | 7 + .../js/tinymce/plugins/colorpicker/plugin.js | 22 + .../tinymce/plugins/colorpicker/plugin.min.js | 9 + .../js/tinymce/plugins/contextmenu/index.js | 7 + .../js/tinymce/plugins/contextmenu/plugin.js | 22 + .../tinymce/plugins/contextmenu/plugin.min.js | 9 + .../tinymce/plugins/directionality/index.js | 7 + .../tinymce/plugins/directionality/plugin.js | 314 + .../plugins/directionality/plugin.min.js | 9 + public/js/tinymce/plugins/emoticons/index.js | 7 + .../plugins/emoticons/js/emojiimages.js | 9424 +++++ .../plugins/emoticons/js/emojiimages.min.js | 3 + .../js/tinymce/plugins/emoticons/js/emojis.js | 9423 +++++ .../plugins/emoticons/js/emojis.min.js | 2 + public/js/tinymce/plugins/emoticons/plugin.js | 605 + .../tinymce/plugins/emoticons/plugin.min.js | 9 + public/js/tinymce/plugins/fullpage/index.js | 7 + public/js/tinymce/plugins/fullpage/plugin.js | 544 + .../js/tinymce/plugins/fullpage/plugin.min.js | 9 + public/js/tinymce/plugins/fullscreen/index.js | 7 + .../js/tinymce/plugins/fullscreen/plugin.js | 979 + .../tinymce/plugins/fullscreen/plugin.min.js | 9 + public/js/tinymce/plugins/help/index.js | 7 + public/js/tinymce/plugins/help/plugin.js | 846 + public/js/tinymce/plugins/help/plugin.min.js | 9 + public/js/tinymce/plugins/hr/index.js | 7 + public/js/tinymce/plugins/hr/plugin.js | 46 + public/js/tinymce/plugins/hr/plugin.min.js | 9 + public/js/tinymce/plugins/image/index.js | 7 + public/js/tinymce/plugins/image/plugin.js | 1664 + public/js/tinymce/plugins/image/plugin.min.js | 9 + public/js/tinymce/plugins/imagetools/index.js | 7 + .../js/tinymce/plugins/imagetools/plugin.js | 1348 + .../tinymce/plugins/imagetools/plugin.min.js | 9 + public/js/tinymce/plugins/importcss/index.js | 7 + public/js/tinymce/plugins/importcss/plugin.js | 343 + .../tinymce/plugins/importcss/plugin.min.js | 9 + .../tinymce/plugins/insertdatetime/index.js | 7 + .../tinymce/plugins/insertdatetime/plugin.js | 177 + .../plugins/insertdatetime/plugin.min.js | 9 + .../js/tinymce/plugins/legacyoutput/index.js | 7 + .../js/tinymce/plugins/legacyoutput/plugin.js | 199 + .../plugins/legacyoutput/plugin.min.js | 9 + public/js/tinymce/plugins/link/index.js | 7 + public/js/tinymce/plugins/link/plugin.js | 1290 + public/js/tinymce/plugins/link/plugin.min.js | 9 + public/js/tinymce/plugins/lists/index.js | 7 + public/js/tinymce/plugins/lists/plugin.js | 2148 + public/js/tinymce/plugins/lists/plugin.min.js | 9 + public/js/tinymce/plugins/media/index.js | 7 + public/js/tinymce/plugins/media/plugin.js | 1315 + public/js/tinymce/plugins/media/plugin.min.js | 9 + .../js/tinymce/plugins/nonbreaking/index.js | 7 + .../js/tinymce/plugins/nonbreaking/plugin.js | 101 + .../tinymce/plugins/nonbreaking/plugin.min.js | 9 + .../js/tinymce/plugins/noneditable/index.js | 7 + .../js/tinymce/plugins/noneditable/plugin.js | 117 + .../tinymce/plugins/noneditable/plugin.min.js | 9 + public/js/tinymce/plugins/pagebreak/index.js | 7 + public/js/tinymce/plugins/pagebreak/plugin.js | 107 + .../tinymce/plugins/pagebreak/plugin.min.js | 9 + public/js/tinymce/plugins/paste/index.js | 7 + public/js/tinymce/plugins/paste/plugin.js | 1764 + public/js/tinymce/plugins/paste/plugin.min.js | 9 + public/js/tinymce/plugins/preview/index.js | 7 + public/js/tinymce/plugins/preview/plugin.js | 127 + .../js/tinymce/plugins/preview/plugin.min.js | 9 + public/js/tinymce/plugins/print/index.js | 7 + public/js/tinymce/plugins/print/plugin.js | 53 + public/js/tinymce/plugins/print/plugin.min.js | 9 + public/js/tinymce/plugins/quickbars/index.js | 7 + public/js/tinymce/plugins/quickbars/plugin.js | 491 + .../tinymce/plugins/quickbars/plugin.min.js | 9 + public/js/tinymce/plugins/save/index.js | 7 + public/js/tinymce/plugins/save/plugin.js | 119 + public/js/tinymce/plugins/save/plugin.min.js | 9 + .../js/tinymce/plugins/searchreplace/index.js | 7 + .../tinymce/plugins/searchreplace/plugin.js | 1163 + .../plugins/searchreplace/plugin.min.js | 9 + .../js/tinymce/plugins/spellchecker/index.js | 7 + .../js/tinymce/plugins/spellchecker/plugin.js | 737 + .../plugins/spellchecker/plugin.min.js | 9 + public/js/tinymce/plugins/tabfocus/index.js | 7 + public/js/tinymce/plugins/tabfocus/plugin.js | 129 + .../js/tinymce/plugins/tabfocus/plugin.min.js | 9 + public/js/tinymce/plugins/table/index.js | 7 + public/js/tinymce/plugins/table/plugin.js | 10495 +++++ public/js/tinymce/plugins/table/plugin.min.js | 9 + public/js/tinymce/plugins/template/index.js | 7 + public/js/tinymce/plugins/template/plugin.js | 577 + .../js/tinymce/plugins/template/plugin.min.js | 9 + public/js/tinymce/plugins/textcolor/index.js | 7 + public/js/tinymce/plugins/textcolor/plugin.js | 22 + .../tinymce/plugins/textcolor/plugin.min.js | 9 + .../js/tinymce/plugins/textpattern/index.js | 7 + .../js/tinymce/plugins/textpattern/plugin.js | 1390 + .../tinymce/plugins/textpattern/plugin.min.js | 9 + public/js/tinymce/plugins/toc/index.js | 7 + public/js/tinymce/plugins/toc/plugin.js | 236 + public/js/tinymce/plugins/toc/plugin.min.js | 9 + .../js/tinymce/plugins/visualblocks/index.js | 7 + .../js/tinymce/plugins/visualblocks/plugin.js | 104 + .../plugins/visualblocks/plugin.min.js | 9 + .../js/tinymce/plugins/visualchars/index.js | 7 + .../js/tinymce/plugins/visualchars/plugin.js | 541 + .../tinymce/plugins/visualchars/plugin.min.js | 9 + public/js/tinymce/plugins/wordcount/index.js | 7 + public/js/tinymce/plugins/wordcount/plugin.js | 416 + .../tinymce/plugins/wordcount/plugin.min.js | 9 + .../js/tinymce/skins/content/dark/content.css | 72 + .../skins/content/dark/content.min.css | 7 + .../tinymce/skins/content/default/content.css | 67 + .../skins/content/default/content.min.css | 7 + .../skins/content/document/content.css | 72 + .../skins/content/document/content.min.css | 7 + .../tinymce/skins/content/writer/content.css | 68 + .../skins/content/writer/content.min.css | 7 + .../tinymce/skins/ui/oxide-dark/content.css | 710 + .../skins/ui/oxide-dark/content.inline.css | 722 + .../ui/oxide-dark/content.inline.min.css | 7 + .../skins/ui/oxide-dark/content.min.css | 7 + .../skins/ui/oxide-dark/content.mobile.css | 29 + .../ui/oxide-dark/content.mobile.min.css | 7 + .../ui/oxide-dark/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../js/tinymce/skins/ui/oxide-dark/skin.css | 3024 ++ .../tinymce/skins/ui/oxide-dark/skin.min.css | 7 + .../skins/ui/oxide-dark/skin.mobile.css | 673 + .../skins/ui/oxide-dark/skin.mobile.min.css | 7 + .../skins/ui/oxide-dark/skin.shadowdom.css | 36 + .../ui/oxide-dark/skin.shadowdom.min.css | 7 + public/js/tinymce/skins/ui/oxide/content.css | 728 + .../tinymce/skins/ui/oxide/content.inline.css | 722 + .../skins/ui/oxide/content.inline.min.css | 7 + .../js/tinymce/skins/ui/oxide/content.min.css | 7 + .../tinymce/skins/ui/oxide/content.mobile.css | 29 + .../skins/ui/oxide/content.mobile.min.css | 7 + .../skins/ui/oxide/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes public/js/tinymce/skins/ui/oxide/skin.css | 3024 ++ public/js/tinymce/skins/ui/oxide/skin.min.css | 7 + .../js/tinymce/skins/ui/oxide/skin.mobile.css | 673 + .../skins/ui/oxide/skin.mobile.min.css | 7 + .../tinymce/skins/ui/oxide/skin.shadowdom.css | 36 + .../skins/ui/oxide/skin.shadowdom.min.css | 7 + public/js/tinymce/themes/mobile/index.js | 7 + public/js/tinymce/themes/mobile/theme.js | 13592 +++++++ public/js/tinymce/themes/mobile/theme.min.js | 9 + public/js/tinymce/themes/silver/index.js | 7 + public/js/tinymce/themes/silver/theme.js | 32458 ++++++++++++++++ public/js/tinymce/themes/silver/theme.min.js | 9 + resources/js/admin.js | 73 +- resources/js/config.js | 12 - .../views/admin/categories/save.blade.php | 2 +- resources/views/admin/posts/save.blade.php | 2 +- routes/web-admin.php | 2 + 191 files changed, 112939 insertions(+), 103 deletions(-) create mode 100644 app/Http/Controllers/Admin/TinymceImageController.php create mode 100644 public/js/tinymce/icons/default/icons.js create mode 100644 public/js/tinymce/icons/default/icons.min.js create mode 100644 public/js/tinymce/icons/default/index.js create mode 100644 public/js/tinymce/plugins/advlist/index.js create mode 100644 public/js/tinymce/plugins/advlist/plugin.js create mode 100644 public/js/tinymce/plugins/advlist/plugin.min.js create mode 100644 public/js/tinymce/plugins/anchor/index.js create mode 100644 public/js/tinymce/plugins/anchor/plugin.js create mode 100644 public/js/tinymce/plugins/anchor/plugin.min.js create mode 100644 public/js/tinymce/plugins/autolink/index.js create mode 100644 public/js/tinymce/plugins/autolink/plugin.js create mode 100644 public/js/tinymce/plugins/autolink/plugin.min.js create mode 100644 public/js/tinymce/plugins/autoresize/index.js create mode 100644 public/js/tinymce/plugins/autoresize/plugin.js create mode 100644 public/js/tinymce/plugins/autoresize/plugin.min.js create mode 100644 public/js/tinymce/plugins/autosave/index.js create mode 100644 public/js/tinymce/plugins/autosave/plugin.js create mode 100644 public/js/tinymce/plugins/autosave/plugin.min.js create mode 100644 public/js/tinymce/plugins/bbcode/index.js create mode 100644 public/js/tinymce/plugins/bbcode/plugin.js create mode 100644 public/js/tinymce/plugins/bbcode/plugin.min.js create mode 100644 public/js/tinymce/plugins/charmap/index.js create mode 100644 public/js/tinymce/plugins/charmap/plugin.js create mode 100644 public/js/tinymce/plugins/charmap/plugin.min.js create mode 100644 public/js/tinymce/plugins/code/index.js create mode 100644 public/js/tinymce/plugins/code/plugin.js create mode 100644 public/js/tinymce/plugins/code/plugin.min.js create mode 100644 public/js/tinymce/plugins/codesample/index.js create mode 100644 public/js/tinymce/plugins/codesample/plugin.js create mode 100644 public/js/tinymce/plugins/codesample/plugin.min.js create mode 100644 public/js/tinymce/plugins/colorpicker/index.js create mode 100644 public/js/tinymce/plugins/colorpicker/plugin.js create mode 100644 public/js/tinymce/plugins/colorpicker/plugin.min.js create mode 100644 public/js/tinymce/plugins/contextmenu/index.js create mode 100644 public/js/tinymce/plugins/contextmenu/plugin.js create mode 100644 public/js/tinymce/plugins/contextmenu/plugin.min.js create mode 100644 public/js/tinymce/plugins/directionality/index.js create mode 100644 public/js/tinymce/plugins/directionality/plugin.js create mode 100644 public/js/tinymce/plugins/directionality/plugin.min.js create mode 100644 public/js/tinymce/plugins/emoticons/index.js create mode 100644 public/js/tinymce/plugins/emoticons/js/emojiimages.js create mode 100644 public/js/tinymce/plugins/emoticons/js/emojiimages.min.js create mode 100644 public/js/tinymce/plugins/emoticons/js/emojis.js create mode 100644 public/js/tinymce/plugins/emoticons/js/emojis.min.js create mode 100644 public/js/tinymce/plugins/emoticons/plugin.js create mode 100644 public/js/tinymce/plugins/emoticons/plugin.min.js create mode 100644 public/js/tinymce/plugins/fullpage/index.js create mode 100644 public/js/tinymce/plugins/fullpage/plugin.js create mode 100644 public/js/tinymce/plugins/fullpage/plugin.min.js create mode 100644 public/js/tinymce/plugins/fullscreen/index.js create mode 100644 public/js/tinymce/plugins/fullscreen/plugin.js create mode 100644 public/js/tinymce/plugins/fullscreen/plugin.min.js create mode 100644 public/js/tinymce/plugins/help/index.js create mode 100644 public/js/tinymce/plugins/help/plugin.js create mode 100644 public/js/tinymce/plugins/help/plugin.min.js create mode 100644 public/js/tinymce/plugins/hr/index.js create mode 100644 public/js/tinymce/plugins/hr/plugin.js create mode 100644 public/js/tinymce/plugins/hr/plugin.min.js create mode 100644 public/js/tinymce/plugins/image/index.js create mode 100644 public/js/tinymce/plugins/image/plugin.js create mode 100644 public/js/tinymce/plugins/image/plugin.min.js create mode 100644 public/js/tinymce/plugins/imagetools/index.js create mode 100644 public/js/tinymce/plugins/imagetools/plugin.js create mode 100644 public/js/tinymce/plugins/imagetools/plugin.min.js create mode 100644 public/js/tinymce/plugins/importcss/index.js create mode 100644 public/js/tinymce/plugins/importcss/plugin.js create mode 100644 public/js/tinymce/plugins/importcss/plugin.min.js create mode 100644 public/js/tinymce/plugins/insertdatetime/index.js create mode 100644 public/js/tinymce/plugins/insertdatetime/plugin.js create mode 100644 public/js/tinymce/plugins/insertdatetime/plugin.min.js create mode 100644 public/js/tinymce/plugins/legacyoutput/index.js create mode 100644 public/js/tinymce/plugins/legacyoutput/plugin.js create mode 100644 public/js/tinymce/plugins/legacyoutput/plugin.min.js create mode 100644 public/js/tinymce/plugins/link/index.js create mode 100644 public/js/tinymce/plugins/link/plugin.js create mode 100644 public/js/tinymce/plugins/link/plugin.min.js create mode 100644 public/js/tinymce/plugins/lists/index.js create mode 100644 public/js/tinymce/plugins/lists/plugin.js create mode 100644 public/js/tinymce/plugins/lists/plugin.min.js create mode 100644 public/js/tinymce/plugins/media/index.js create mode 100644 public/js/tinymce/plugins/media/plugin.js create mode 100644 public/js/tinymce/plugins/media/plugin.min.js create mode 100644 public/js/tinymce/plugins/nonbreaking/index.js create mode 100644 public/js/tinymce/plugins/nonbreaking/plugin.js create mode 100644 public/js/tinymce/plugins/nonbreaking/plugin.min.js create mode 100644 public/js/tinymce/plugins/noneditable/index.js create mode 100644 public/js/tinymce/plugins/noneditable/plugin.js create mode 100644 public/js/tinymce/plugins/noneditable/plugin.min.js create mode 100644 public/js/tinymce/plugins/pagebreak/index.js create mode 100644 public/js/tinymce/plugins/pagebreak/plugin.js create mode 100644 public/js/tinymce/plugins/pagebreak/plugin.min.js create mode 100644 public/js/tinymce/plugins/paste/index.js create mode 100644 public/js/tinymce/plugins/paste/plugin.js create mode 100644 public/js/tinymce/plugins/paste/plugin.min.js create mode 100644 public/js/tinymce/plugins/preview/index.js create mode 100644 public/js/tinymce/plugins/preview/plugin.js create mode 100644 public/js/tinymce/plugins/preview/plugin.min.js create mode 100644 public/js/tinymce/plugins/print/index.js create mode 100644 public/js/tinymce/plugins/print/plugin.js create mode 100644 public/js/tinymce/plugins/print/plugin.min.js create mode 100644 public/js/tinymce/plugins/quickbars/index.js create mode 100644 public/js/tinymce/plugins/quickbars/plugin.js create mode 100644 public/js/tinymce/plugins/quickbars/plugin.min.js create mode 100644 public/js/tinymce/plugins/save/index.js create mode 100644 public/js/tinymce/plugins/save/plugin.js create mode 100644 public/js/tinymce/plugins/save/plugin.min.js create mode 100644 public/js/tinymce/plugins/searchreplace/index.js create mode 100644 public/js/tinymce/plugins/searchreplace/plugin.js create mode 100644 public/js/tinymce/plugins/searchreplace/plugin.min.js create mode 100644 public/js/tinymce/plugins/spellchecker/index.js create mode 100644 public/js/tinymce/plugins/spellchecker/plugin.js create mode 100644 public/js/tinymce/plugins/spellchecker/plugin.min.js create mode 100644 public/js/tinymce/plugins/tabfocus/index.js create mode 100644 public/js/tinymce/plugins/tabfocus/plugin.js create mode 100644 public/js/tinymce/plugins/tabfocus/plugin.min.js create mode 100644 public/js/tinymce/plugins/table/index.js create mode 100644 public/js/tinymce/plugins/table/plugin.js create mode 100644 public/js/tinymce/plugins/table/plugin.min.js create mode 100644 public/js/tinymce/plugins/template/index.js create mode 100644 public/js/tinymce/plugins/template/plugin.js create mode 100644 public/js/tinymce/plugins/template/plugin.min.js create mode 100644 public/js/tinymce/plugins/textcolor/index.js create mode 100644 public/js/tinymce/plugins/textcolor/plugin.js create mode 100644 public/js/tinymce/plugins/textcolor/plugin.min.js create mode 100644 public/js/tinymce/plugins/textpattern/index.js create mode 100644 public/js/tinymce/plugins/textpattern/plugin.js create mode 100644 public/js/tinymce/plugins/textpattern/plugin.min.js create mode 100644 public/js/tinymce/plugins/toc/index.js create mode 100644 public/js/tinymce/plugins/toc/plugin.js create mode 100644 public/js/tinymce/plugins/toc/plugin.min.js create mode 100644 public/js/tinymce/plugins/visualblocks/index.js create mode 100644 public/js/tinymce/plugins/visualblocks/plugin.js create mode 100644 public/js/tinymce/plugins/visualblocks/plugin.min.js create mode 100644 public/js/tinymce/plugins/visualchars/index.js create mode 100644 public/js/tinymce/plugins/visualchars/plugin.js create mode 100644 public/js/tinymce/plugins/visualchars/plugin.min.js create mode 100644 public/js/tinymce/plugins/wordcount/index.js create mode 100644 public/js/tinymce/plugins/wordcount/plugin.js create mode 100644 public/js/tinymce/plugins/wordcount/plugin.min.js create mode 100644 public/js/tinymce/skins/content/dark/content.css create mode 100644 public/js/tinymce/skins/content/dark/content.min.css create mode 100644 public/js/tinymce/skins/content/default/content.css create mode 100644 public/js/tinymce/skins/content/default/content.min.css create mode 100644 public/js/tinymce/skins/content/document/content.css create mode 100644 public/js/tinymce/skins/content/document/content.min.css create mode 100644 public/js/tinymce/skins/content/writer/content.css create mode 100644 public/js/tinymce/skins/content/writer/content.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.inline.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.mobile.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.mobile.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.css create mode 100644 public/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.inline.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.inline.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.mobile.css create mode 100644 public/js/tinymce/skins/ui/oxide/content.mobile.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff create mode 100644 public/js/tinymce/skins/ui/oxide/skin.css create mode 100644 public/js/tinymce/skins/ui/oxide/skin.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/skin.mobile.css create mode 100644 public/js/tinymce/skins/ui/oxide/skin.mobile.min.css create mode 100644 public/js/tinymce/skins/ui/oxide/skin.shadowdom.css create mode 100644 public/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css create mode 100644 public/js/tinymce/themes/mobile/index.js create mode 100644 public/js/tinymce/themes/mobile/theme.js create mode 100644 public/js/tinymce/themes/mobile/theme.min.js create mode 100644 public/js/tinymce/themes/silver/index.js create mode 100644 public/js/tinymce/themes/silver/theme.js create mode 100644 public/js/tinymce/themes/silver/theme.min.js delete mode 100644 resources/js/config.js diff --git a/README.md b/README.md index 3bb2173..5af228f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ You can use default theme or just add new themes to your blog. Default theme is - [Laravel-Roles](https://github.com/stanfortonski/Laravel-Roles) - [Laravel-Feed](https://github.com/spatie/laravel-feed) - [CoreUI 3.x](https://coreui.io) -- [CKEditor5](https://ckeditor.com/ckeditor-5/) +- [TinyMCE](https://tiny.cloud/) - [Disqus](https://disqus.com) - [Sass](https://sass-lang.com) - [Laravel-Debugbar](https://github.com/barryvdh/laravel-debugbar) diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index 4e49da9..6dda96f 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -6,7 +6,7 @@ class Helper { static public function stripTags(string $str): string { - return strip_tags($str, '


      1. ');
        +        return strip_tags($str, '