taqueci / redmine_wysiwyg_editor

Redmine WYSIWYG Editor plugin
GNU General Public License v2.0
114 stars 27 forks source link

`redmineformat` TinyMCE plugin and code syntax highlighting #109

Closed martincizek closed 3 years ago

martincizek commented 3 years ago

This PR introduces a TinyMCE plugin that allows to separate WYSIWYG concerns from format transformation.

The core idea is to establish a well-defined format for interfacing with the WYSIWYG editor component. Let's call it visual editor HTML.

redmineformat plugin currently addresses code block syntax, which resolves #41. But it also provides a way to resolve other issues like this fixme.

If the concept is adopted, we'll provide some basic contract documentation for the visual editor HTML within subsequent PRs (support for macros seems to be the best opportunity :)).

Additional info:

taqueci commented 3 years ago

Excellent work! Thank you!!!