I have a task and I am not quite sure on how to implement this with ckeditor.
Basically, user's can dynamically add content to the textarea (or iframe that the editor generates) by clicking a button. This basically inserts a div into the editor with a bunch of stuff inside.
Now I need the ability to reverse this process, so a user can remove the inserted div without going to the exact location and pressing backspace. Ideally this would need to be implemented by double-clicking on the div (or a remove link in the div perhaps?), which would then open a dialog (or more like a confirm box, clicking yes will remove the div, no will cancel the operation).
Now the thing is I am not quite sure on how to implement this with the ckeditor api. Any help will be greatly appreciated!
Basically, user's can dynamically add content to the textarea (or iframe that the editor generates) by clicking a button. This basically inserts a div into the editor with a bunch of stuff inside.
Now I need the ability to reverse this process, so a user can remove the inserted div without going to the exact location and pressing backspace. Ideally this would need to be implemented by double-clicking on the div (or a remove link in the div perhaps?), which would then open a dialog (or more like a confirm box, clicking yes will remove the div, no will cancel the operation).
Now the thing is I am not quite sure on how to implement this with the ckeditor api. Any help will be greatly appreciated!