How do I get the contents of the editor as an element/object in JavaScript? I want to be able to loop through it in Mootools and modify some stuff.
Something like this:
content = editor.getContentAsElement(); // <<<<<<<<< This doesn't exist, how do I do it?
content.getElements('.inline-content-data').each(function(contentContainer) {
...
});
Thanks!
Something like this:
content = editor.getContentAsElement(); // <<<<<<<<< This doesn't exist, how do I do it?
content.getElements('.inline-content-data').each(function(contentContainer) {
...
});
Thanks!