I'm trying to write a plugin for the editor that appends certain classes (for external links, pdfs, etc.) depending on characteristics of the href in an a tag. I have added a datafilter so it gets done eventually, but ideally it would also run this, or something similar, after the link dialog finishes it's stuff. Is there a nice way to do this?
I am new to CKEditor, so I'm not sure if this is right, but it seems like I'd want to listen for the link command and then listen for the ok event on that dialog. Is something like this possible?
I am new to CKEditor, so I'm not sure if this is right, but it seems like I'd want to listen for the link command and then listen for the ok event on that dialog. Is something like this possible?