How can I find the available event list provided by CKeditor 4?
Asked Answered
A

2

16

As title.

I tried to find the available event list in official doc but can't. Though I can find all available event from its source code by search .fire("/s+"). But it is not efficient because I still need to read the context to know where the event triggered.

Anyone know where I can find the event list? or How I can know the event name fired by specific object, e.g. widget, dialog definition, etc.. ?

Thanks.

Alvin answered 27/7, 2016 at 12:1 Comment(16)
Have you checked this thread?Diaghilev
Seems the link provided in the last post (of the above given thread) is brokenMats
@Diaghilev I did, but not helpful.Alvin
@DavidR Yes, it is dead link.Alvin
Someone has updated the list in [link]ckeditor.com/forums/CKEditor-3.x/Event-List) in another thread. Unfortunately the diffpaste.com is down.Mats
Great work @DavidR thanks for posting the updated link =)Diaghilev
@DavidR How about CKeditor 4? I feel sorry I forget to specify this in question. I update it now.Alvin
@JimmyKo Also checkout this article - alfonsoml.blogspot.com/2009/09/ckeditor-events.html . Looks promising!Mats
@JimmyKo I found another thread that seems promissing. Try this one and tell us if it suit your needsDiaghilev
@Diaghilev Thanks for the information, it is not exactly what I want. I did find the similar thing in CK4, but it looks like a event callback list rather then the event name list. Or are they same?Alvin
@JimmyKo For CKEditor4, Go to this link, docs.ckeditor.com/#!/api/CKEDITOR.editor and hover on the "Events" icon, you'll get all the events.Mats
@JimmyKo I'd say it depends. If what you want is Dom events, like blur, click and key up for instance, than that's correct. But, if what you want are specific events for the ckeditor, than that would not be the case.Diaghilev
@DavidR Brilliant! The word event is too subtle to get attention. It is what I am looking for. I never think how close the answer I was. Can you post it to the answer? I would accept it :) Thanks.Alvin
Thanks @Diaghilev as well! Cheers.Alvin
@JimmyKo Posted!. Glad it helped you! :-)Mats
Good job @DavidR! Thank you guys for the brainstorming =)Diaghilev
A
10

With the new UI of the CKEditor documentation website you can now find it at this link

A answered 26/4, 2018 at 14:23 Comment(2)
It looks much better!Alvin
I've just changed the accepted answer because the link has been changed.Alvin
M
23

For CKEditor4, Go to this link and hover on the "Events" icon, you'll get all the events.

enter image description here

Hope this helps!

Mats answered 27/7, 2016 at 12:25 Comment(0)
A
10

With the new UI of the CKEditor documentation website you can now find it at this link

A answered 26/4, 2018 at 14:23 Comment(2)
It looks much better!Alvin
I've just changed the accepted answer because the link has been changed.Alvin

© 2022 - 2024 — McMap. All rights reserved.