apply event not firing
See original GitHub issueHi! I’m starting to work on CT for a project and I’m grateful for the work you have done with the editor. I’m new at this library and perhaps don’t know how to use the events properly.
I’m trying to add behavior to a tool and, for some reason, can’t get access to _toolUIs['align-left']
. When I run the following console messages I get different objects:
var toolbox = editor.toolbox();
console.log("editContent: toolbox", toolbox );
// Got toolbox with _toolUIs and align-left object
console.log("editContent: toolbox", toolbox._toolUIs );
// Empty object with prototype
console.log("editContent: toolbox", toolbox._toolUIs['align-left'] );
// undefined
Maybe I’m setting the event in the wrong place? I’m working on AngularJs and I’ve been able to set stop, start, saved and revert events.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Application Event not firing in lightning
ERROR: console.log('StartEvent = '+StartEvent) from the QuizWelcomeComponent component returns undefined so I do not know what I am doing wrong, ...
Read more >My Application event is not firing - Salesforce Developers
My Application event is not firing ... imgclick_helper:function(component,event,recId){ var appEvent = $A.get("e.c:recordDetailpage"); ...
Read more >Why is the click event not firing? - javascript - Stack Overflow
I have a button inside of an absolute position div; It has a click handler but it's not firing. I ...
Read more >Event listeners not working? 3 key areas to troubleshoot
Are your event listeners not working as you'd expect? Here are 3 key areas to troubleshoot to help you get everything triggering as...
Read more >Events not firing (or being handled) - Laracasts
Long story short, I'm firing an event when a user registers, ... Not sure if its the best option, but what you could...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
worked like a charm! Thanks! I’m enjoying CT a lot 😃
The issue is the version - the new tool-apply and tool-applied events were introduced in version 1.3.0, I recommend upgrading to resolve the issue.