Item14288: rewrite to support pluggable edit engines
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release:
This is a work in progress testing out concepts. Findings will result in a proper feature proposal to fold related changes into the core release.
The idea is to have a kind of framework to load different 3rd party editors into the textarea by means of an "engine" wrapper class which
takes care how to load, how to connect to the shell and how to interact with the rest of foswiki as required. As a result all engines share
the same toolbar. Only the textarea is implemented differently.
Implementations are:
- raw: the current wiki text editor - works as usual
- tinymce: loads the latest tinymce from a cdn - works fine but doesn't quite implement all toolbar actions
- codemirror: works great, fully implements a code editor for TML including highlightying of markup of macros and typography
- prosemirror: very interesting concept; early alpha upstream; not worked on yet
- ckeditor: probably a better wysiwyg editor than tinymce, not worked on yet
- ...
Additional editor engines might provided by extra plugins.
Screenshots:
--
MichaelDaum - 23 Jan 2017
This is a monster branch. I can't continue merging master just to work on
NatEditPlugin. Therefore I will create a separate repository for further development and name the resulting edit plugin differently, something like NextNatEditPlugin or just EditorPlugin. In addition this will let me release a new editor interface independently from the core release process.
--
MichaelDaum - 13 Jun 2018
Sounds promising
--
AlexanderTraxel - 06 Sep 2018
I'll remove the
Item14288 branch and continue on
https://github.com/MichaelDaum/NatEditPlugin. Branching all of the core just to continue on this specific extension isn't a good idea in general. But that's another issue.
--
MichaelDaum - 26 Aug 2021