====== CKEditor 4 Plugin ====== Author: [[https://frank-web.dedyn.io|Fraenkiman]] Proof of Concept: Francisco Arocas [[http://franciscoarocas.com|@Franah]], 2024 [[https://deltalima.org|DeltaLima]] ==== Description ==== CKEditor 4 is a powerful WYSIWYG HTML editor. It is necessary to **allow inline HTML** via the BBcode admin panel. ==== Features ==== | **Programming language** | JavaScript with native jQuery integration | | **Data model** | HTML/DOM | | **Architecture** | Plugin-based | | **Editor types** | Classic, inline | | **UI** | Toolbar, dialogs, and features manipulated through right-click context menu | | **UI customization** | Skins, UI color change | ==== For creating static pages ==== However, this plugin only works in entries. If you want to use the editor with static pages, you need to edit this file:'' admin/panels/static/admin.static.write.tpl '' Find the line with: {*here will go a plugin hook*} And then write: {action hook=simple_edit_form} ==== Screenshots ==== {{:res:plugins:franah:ckeditor.png?480|Screenshot of the edit area with the CKEditor toolbar (CDN-Version)}} {{:res:plugins:frank:ckeditor_os_full.png?640|Screenshot of the edit area with the CKEditor toolbar (Open-Source-Version)}} ==== License ==== CKEditor 4 Open-Source edition (4.22.* and below) is licensed under the terms of any of the following licenses at your choice: GPLv2 or later, MPLv1.1 or later, LGPLv2.1 or later ==== Download ==== **Notice:** CKEditor 4 reached its End of Life (EOL) in June 2023. It is possible that the files for the CKEdior 4 will no longer be available in the CDN. It is therefore advisable to switch to the {{ res:plugins:frank:ckeditor1_0_1.zip | Full Open-Source version }}. This full open-source edition ensures that all required files (12 MiB) are located on your web server. {{ res:plugins:frank:ckeditor1_0_1.zip |}} This plugin is very lightweight, because use the Ckeditor CDN network (The editor is hosted in Ckeditor server“s not in your blog). {{ res:plugins:franah:ckeditor_0_1.zip |}} ==== FAQ ==== **Q:** Is CKEditor compatible with the BBcode plugin? **A:** Yes. You can use both at same time. However, I recommend to use only one at the same time. **Q:** Can I change the appearance or the range of functions? **A:** Yes, to change the skin or the range of functions, open the file: '' /fp-plugins/ckeditor/res/config.js '' **Q:** The editor also contains a markdown plugin. Can I use this for FlatPress? **A:** Yes, you can. However, the markdown syntax is written in plain text in the FlatPress blog. It is therefore recommended that you also activate the Markdown plugin for FlatPress. You can download it [[res:plugins:markdown|here]]. **Support** Please ask for help on the [[https://forum.flatpress.org/viewtopic.php?t=729|FlatPress Forum]]