Item14288: rewrite to support pluggable edit engines

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: NatEditPlugin
Branches: Item14288
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
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:

NatEditSnap1.png NatEditSnap2.png

-- MichaelDaum - 23 Jan 2017

 

ItemTemplate edit

Summary rewrite to support pluggable edit engines
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Extension
Component NatEditPlugin
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins distro:b7bb0c990ac1 distro:187209278f98 distro:5170d22e05c1 distro:7745f59b189b distro:2cc13e17552d distro:b1d18e0f8ea0 distro:cea4f5cd74b9 distro:afc509a4633c distro:8586ff9767d8 distro:190853574ae3 distro:35b3c2ef7b59 distro:602136c039d6 distro:d17154e2526d distro:c5b9a29a4a04 distro:78b890dab81f distro:0845ce29e30d distro:3127c1a2a3e7 distro:476b859872c9 distro:f17cef81059f distro:2ac8e7169229 distro:d0e7192aab10 distro:74811ebbf747 distro:066e9fc16f51 distro:a46fe3b87704 distro:7f54afb35177 distro:c412636b7d94 distro:532b25fd4dc4 distro:21e16cf97f98 distro:b635eb471abc distro:3d9656a00e44
ReleasedIn n/a
CheckinsOnBranches Item14288
trunkCheckins
masterCheckins
ItemBranchCheckins distro:b7bb0c990ac1 distro:187209278f98 distro:5170d22e05c1 distro:7745f59b189b distro:2cc13e17552d distro:b1d18e0f8ea0 distro:cea4f5cd74b9 distro:afc509a4633c distro:8586ff9767d8 distro:190853574ae3 distro:35b3c2ef7b59 distro:602136c039d6 distro:d17154e2526d distro:c5b9a29a4a04 distro:78b890dab81f distro:0845ce29e30d distro:3127c1a2a3e7 distro:476b859872c9 distro:f17cef81059f distro:2ac8e7169229 distro:d0e7192aab10 distro:74811ebbf747 distro:066e9fc16f51 distro:a46fe3b87704 distro:7f54afb35177 distro:c412636b7d94 distro:532b25fd4dc4 distro:21e16cf97f98 distro:b635eb471abc distro:3d9656a00e44
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic attachments
I Attachment Action Size Date Who Comment
NatEditSnap1.pngpng NatEditSnap1.png manage 169 K 23 Jan 2017 - 07:41 MichaelDaum  
NatEditSnap2.pngpng NatEditSnap2.png manage 70 K 23 Jan 2017 - 07:41 MichaelDaum  
Topic revision: r25 - 21 Sep 2017, MichaelDaum - This page was cached on 23 Sep 2017 - 07:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License