Hello Marius,
> CKEditor provides
> http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toHtml and
> http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toDataFormat . 
Can you give an example on how to hook it?
At least hooking it in the instanceCreated (calling then
  ckeditor.on( 'toDataFormat', function( evt) {
console.log("toDataFormat"); }, null, null, 3 );
did not seem to call it.

Should it be called later?

One of the alternative possibilities I have is to let the islands be
directly converted to a macro-call right after they got edited. This is
better for a predictable wysiwyg effect. However how could I let the
macro-islands be edited using the wiris plugin instead of the default
macro-editor when they are double clicked??

> You could also write a
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/java/org/xwiki/wysiwyg/server/internal/cleaner/HTMLFilter.java
> that is called on the server side before the HTML is converted to wiki
> syntax.
I fear this is not pluggeable.

thanks

paul
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to