Hi, maurizio1230 wrote:
Hi all,
I need to develop a plugin for xwiki's editor but I need more info about this "New WYSIWYG editor based on GWT". Unfortunately TinyMCE editor is very popular and there is a plugin already available.
This is the plugin I'd like to integrate: http://www.wiris.com/documents/plugin-generic.html WIRIS GENERIC PLUGIN .
First you have to think how to integrate the output of this plugin with the wiki syntax. Everything you edit with the WYSIWYG editor is saved as wiki syntax. Users must be able to do in plain text mode (Wiki editor) whatever this plugin visually does in WYSIWYG mode. The only way I know to achieve this is to create a XWiki 2.0 syntax macro (either through Java or through Wiki syntax).
As I've just read on http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorBasedOnGwt#HIssue... New WYSIWYG editor based on GWT , you are looking for a faster and easier (to integrate in next xwiki version) editor. What about FCKEditor http://ckeditor.com/download ?
GWT supports LaTeX syntax in "Macro Formula" but it's not sufficient.
Why isn't the Formula macro sufficient? Is it because you have to enter the formula as plain text when you edit the macro with the WYSIWYG editor? If that's so, then this is something we have discussed about and we are planning to improve. The idea is to be able to associate a custom editor with the content of a macro. Right now macro content is edited using a plain text area but we are going to change this so that the Formula macro, for instance, can hook a visual LaTeX editor. Hope this helps, Marius
Thank you very much