Hi Matthew, On 08/13/2010 02:24 AM, Matthew Hildebrand wrote:
So I'm dynamically adding objects to the page via an ajax request (get the document, create a new object of the specified type, return the object in edit mode as a JSON object). What I am not able to figure out, is how to get my textareas to become wysiwyg enabled (when appropriate). I don't quite understand how the javascript that replaces the text areas is being generated, let alone if there is a way to get it generated (and returned as part of my JSON object).
You can load the WYSIWYG editor on demand for a specific property by following http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule#HLoadondema... . Let me know if you have more questions. Hope this helps, Marius
Any help would be greatly appreciated!
Thanks,
--Matthew
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users