We originally used this editor when it was the Xored Composer and we are attempting to port to the new open source editor. The only problem we've run into is that the new HyperComposer class does not have an addMutationListener(IMutationListener) method.
Is there another way of getting the same functionality with the new HyperComposer class? In other words, how can I capture node insert, deleted and modify events.
Thanks,
Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We originally used this editor when it was the Xored Composer and we are attempting to port to the new open source editor. The only problem we've run into is that the new HyperComposer class does not have an addMutationListener(IMutationListener) method.
Is there another way of getting the same functionality with the new HyperComposer class? In other words, how can I capture node insert, deleted and modify events.
Thanks,
Robert
After browsing the source code, it appears that HyperComposer.addEventListener will do the trick.
Right, custom IMutationListener has been replaced with org.w3c.dom.events.EventListener.