Hi all
I need to access some element's all children, but I don't know how do I.
I get the current element:
var current = editor.getSelection();
current.unlock(true);
current = current.getStartElement();
The CKEDITOR.dom.element has getParent and getChildren function, but the getChildren function return a CKEDITOR.dom.nodeList, which contains CKEDITOR.dom.node objects, not CKEDITOR.dom.element objects. An CKEDITOR.dom.element object has getStyle and setStyle function, what I really need now, but the CKEDITOR.dom.node object.
So, how can I access an element's children elements?
Thanks in advance
up or something
up or something