Hello guys/gals,
I am look for some help or pointers in the correct direction. I am doing a upgrade from FCKeditor to CKEdior 4.3.1
I am trying to re-use some of the code and i have a node set with all the attributes that are needed however i can not get it in the editor
I do not want to use instance.insertHtml() because that seems to insert it at the top losing the formatting, where i need to do kinda of a find and replace
I have searched around looking for examples of how to use
replace( nodeToReplace )
Parameters
-
nodeToReplace : Object
but i have not had much luck
i am not a swift with Java script and / or working with the DOM so some examples would be very appreciated . and this is my first project with CKEditor.