Menu

HyperComposer.addMutationListener(IMutationLi

2008-05-21
2013-04-09
  • robert longo

    robert longo - 2008-05-21

    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

     
    • robert longo

      robert longo - 2008-05-21

      After browsing the source code, it appears that HyperComposer.addEventListener will do the trick.

       
      • Max Stepanov

        Max Stepanov - 2008-05-22

        Right, custom IMutationListener has been replaced with org.w3c.dom.events.EventListener.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.