Im building a multi panel Accordion as a Macro in Umbraco 7.6.4 using AngularJS and Im using umb-editor as my Rich Text Editor. Im using code to create multiple (n) panels so when a user clicks on a New panel a new RTE is created so the user can save text to the $Scope. Here is my Macro html code
{{slide.name}}
And this is my controller:
angular.module("umbraco").controller("AccordionEditor.controller",
function ($scope, assetsService, $http, dialogService, mediaHelper) {
});
The code saves into the scope ok but if I reload the Macro the first panel Summary [0] (rte text) appears in each panel rte. Stepping through the code the correct summary seems to load into the rte correctly but when it appears the initial summary appears regardless of which panel you select.
Has anyone successfully added a RTE into an Accordion Macro?
Umbraco RTE in an accordion Macro
Im building a multi panel Accordion as a Macro in Umbraco 7.6.4 using AngularJS and Im using umb-editor as my Rich Text Editor. Im using code to create multiple (n) panels so when a user clicks on a New panel a new RTE is created so the user can save text to the $Scope. Here is my Macro html code
And this is my controller:
angular.module("umbraco").controller("AccordionEditor.controller", function ($scope, assetsService, $http, dialogService, mediaHelper) {
}); The code saves into the scope ok but if I reload the Macro the first panel Summary [0] (rte text) appears in each panel rte. Stepping through the code the correct summary seems to load into the rte correctly but when it appears the initial summary appears regardless of which panel you select.
Has anyone successfully added a RTE into an Accordion Macro?
Thanks Jon
Hi,
When I drag a slide the RTE Iframe Html is empty. It is not until i save and reload the accordion macro that the IframeHTL is populated again.
is working on a reply...