I am trying to do following:
I want to regenerate JCSDL when a rule changes or a new filter is added to editor .
My first question is: what would be the best way to do this?
By looking through the documentation, I found I can set change event to call a function which will then regenerate my jcsdl through returnJCSDL().
However, when I tried doing this, it does not trigger change event when there is a change in editor.
Am I misinterpreting the documents ?
Any help is greatly appreciated.