on event handlers within a duplicateRTEController aren't triggered
tinyMceEditor.on('change', function (e) { alert("change occurred!"); });
From what I've seen looking through the HTML with the inspector, it should be possible to query the RTE inner HTML by using the property ID. Yet this doesn't seem like a proper solution because links (and who knows what more) aren't fully formatted at this stage, eg: <a href="/{localLink:umb://document/ec4aafcc0c254f25a8fe705bfae1d324}">
Anyone out there with some advice? Help gets much appreciated.
On change event rich text editor Umbraco 9
Hi there, new to Umbraco (9) and trying to figure out how to subscribe to custom RTE on change or on input events. My findings so far:
ng-change
in the RTE propertyeditor view doesn't trigger, because the actual input field value is updated on publish events.on
event handlers within a duplicateRTEController
aren't triggeredFrom what I've seen looking through the HTML with the inspector, it should be possible to query the RTE inner HTML by using the property ID. Yet this doesn't seem like a proper solution because links (and who knows what more) aren't fully formatted at this stage, eg:
<a href="/{localLink:umb://document/ec4aafcc0c254f25a8fe705bfae1d324}">
Anyone out there with some advice? Help gets much appreciated.
Found a solution;
-
is working on a reply...