extend or override default event from editor?

extend or override default event from editor?

aspectraaspectra Posts: 3Questions: 1Answers: 0

Hello,
I tried to add a jQuery-Line to the default open event of the editor but I didn't got it working. It works, when I do it directly on the editor instance with .on('open', ... but I would like to change the on open event for all the instances at once.

Could anyone point me in the right direction?

Thanks a lot,
aspectra

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 48,480Questions: 1Answers: 7,023 Site admin
    Answer ✓

    There isn't an option to get all created instances of Editor I'm afraid. Editor doesn't keep track of the instances that have been created of itself like DataTables does. As such, you would need to use open on each instance.

    Regards,
    Allan

  • aspectraaspectra Posts: 3Questions: 1Answers: 0

    Hi Allen,

    That is what I was afraid of ;)

    Thanks for the answer!

    regards

Sign In or Register to comment.