value: vm.Details, is coming from another function in the same Controller where it gets the data (and that data is being loaded in other controls) but i cant get it to show in TinyMCE.
Can anyone suggest why this is?
Also trying to set TinyMCE as required never works but using the same 'required' attribute works on other controls - why is this happening?
I haven't test this on the RTE but for eg textboxes. You would set it to required by passing validation with mandatory equals to true. Something like this:
I am bit unsure however why the RTE doesn't display the value. Do you get any errors in the console log? What happens if you pass in a static value? Dose it display the value then?
Data not loading in TinyMCE?
Hi guys
I am using TinyMCE in a custom admin area with AngularJS.
And in my controllr
value: vm.Details, is coming from another function in the same Controller where it gets the data (and that data is being loaded in other controls) but i cant get it to show in TinyMCE.
Can anyone suggest why this is?
Also trying to set TinyMCE as required never works but using the same 'required' attribute works on other controls - why is this happening?
Thank you
Hi!
I haven't test this on the RTE but for eg textboxes. You would set it to required by passing validation with mandatory equals to true. Something like this:
I am bit unsure however why the RTE doesn't display the value. Do you get any errors in the console log? What happens if you pass in a static value? Dose it display the value then?
//Johannes
Hi Johannes Lantz
I will add the validation code your mentioned to see what it does.
As for the second question, yes if I hard code a value then yes it appears in TinyMCE editor window.
That's where I'm completely confused. Thank you
Oh and no errors in the console 🤔
Hi,
Did you have a fix on this issue? Facing same issue but no response from anyone and couldn't find this topic troubleshooting anywhere.
MyBalanceNow
I came across this issue and this is what i did
For the line:
in your RTE code above, you can remove it.
In your API calling code when you get the response, you would assign it as below
Or the equivalent code for your response.
is working on a reply...