The problem is my page is already loaded that means rte is already loaded. Now I want set the value when another object is edited.(from list of table). I can set the value of my model and can also see in console but it doesn't show in the editor.
We need RTE to save product detail and we are extending backoffice with our custom table, I can CRUD but could not update detail as we are not able to populate existing value.
I checked your link but it doesn't suit. I want the RTE because we need to link the documents as easily.
As I pointed out in my question, the problem occurs because i have my page already loaded, that means RTE is also already loaded, now want set the value of RTE by getting from db. Since the RTE is already loaded the value I assigned later doesn't updated.
I don't think this can be achieved with current umbEditor directive as this doesnot take the value once the RTE is loaded, I have moved the edit part to new page with new controller and it works. Now I set the value from controller at init so the value i set is seen in RTE(as in the your example code link)
For future who comes here, we have to set the value of model before rendering the RTE.
Setting RTE value in a custom property editor
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/52774-Setting-RTE-value-in-a-custom-property-editor
The problem is my page is already loaded that means rte is already loaded. Now I want set the value when another object is edited.(from list of table). I can set the value of my model and can also see in console but it doesn't show in the editor.
Any help on this please.
Why do you need the RTE on a custom property editor? You can also create a fieldset with Nested Content: https://our.umbraco.org/projects/backoffice-extensions/nested-content/
And those fieldsets can also be multilingual if you want: http://24days.in/umbraco/2015/multilingual-vorto-nested-content/
Jeroen
Hi Jeroen,
We need RTE to save product detail and we are extending backoffice with our custom table, I can CRUD but could not update detail as we are not able to populate existing value. I checked your link but it doesn't suit. I want the RTE because we need to link the documents as easily.
Hello,
This blog mentions the RTE in a custom section: http://24days.in/umbraco/2014/umbraco-angular-tips/
Also this example has an RTE in a custom section: https://bitbucket.org/dawoe/umbukfestival2014/
The code: https://bitbucket.org/dawoe/umbukfestival2014/src/1f7a6c03621a873b25cb709ecac43b298dad2a20/Sources/UmbUkFestival2014.Website/App_Plugins/UmbUkFest/backoffice/speakers/edit.controller.js?at=master&fileviewer=file-view-default#edit.controller.js-79
Jeroen
Jeroren,
As I pointed out in my question, the problem occurs because i have my page already loaded, that means RTE is also already loaded, now want set the value of RTE by getting from db. Since the RTE is already loaded the value I assigned later doesn't updated.
I don't think this can be achieved with current umbEditor directive as this doesnot take the value once the RTE is loaded, I have moved the edit part to new page with new controller and it works. Now I set the value from controller at init so the value i set is seen in RTE(as in the your example code link)
For future who comes here, we have to set the value of model before rendering the RTE.
hope this makes sense?
Thanks,
is working on a reply...