I'm newbie to CKEDITOR. It might sound worthless to some of you to answer this questions. But, I'm struggling to find a solution for my problem for the past few hours.
Aim :
I would like to add an event listener to particular kind of element ( For ex : span
)
What i tried :
I used contentDom
event thrown by CKEDITOR
, to add the event listener to span
elements.
Problem :
However, Adding event listener to span
will be applicable for the span
which are currently available in editor. But, Not for the elements ( span
) which will be created by the user in future. What should i do now?