Opened 16 years ago
Last modified 16 years ago
#4158 confirmed New Feature
Changing link target fails to generate event
| Reported by: | Derek Price | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.0 RC |
| Keywords: | Cc: |
Description
I think this should be generating at least an 'insertHtml' event?
Change History (4)
comment:1 Changed 16 years ago by
| Milestone: | CKEditor 3.0 |
|---|
comment:2 Changed 16 years ago by
| Keywords: | Pending added |
|---|
comment:3 Changed 16 years ago by
Well, if I could catch a single change event, as I requested in issue #4159, I wouldn't. As I noted in issue #4159, I am currently trying to catch virtual "change" events on two different forms, like this:
oEditor.on ('setData', updateLinksTimer);
oEditor.on ('insertHtml', updateLinksTimer);
oEditor.on ('insertElement', updateLinksTimer);
oEditor.on ('loadSnapshot', updateLinksTimer);
oEditor.on ('key', updateLinksTimer);
oEditor.on ('afterUndo', updateLinksTimer);
oEditor.on ('afterRedo', updateLinksTimer);
I use this virtual "change" event to update, on one form, a preview frame, and on another, a list of the URLs linked via A tags (I also post-process the URLs to verify validity and display the content of the linked page to users for visual verification, as well as adding some other form options to each link).
Since I can't catch the link edit event, it generates a change to the editor content that I can't use to update the relevant fields.
comment:4 Changed 16 years ago by
| Keywords: | Confirmed added; Pending removed |
|---|---|
| Type: | Bug → New Feature |

Why do you need such event?