I hope this will help others too as there isn't a lot of documentation about this exactly.
I want to use a RTE (rich text editor) within a macro I've created to handle page sections.
I have successfully rendered the RTE within the macro. I can select my macroRte from the macro parameters panel. It even renders where I edit the values of my page section. I have attributed the alias of "macroRte" to the parameter.
However, it is not storing the values. Each time I press submit it is wiping the content.
I'm no Angular expert but i think that's the problem. Code below. Thank you.
Custom Macro Parameter Editor - RTE
The code below now works.
I hope this will help others too as there isn't a lot of documentation about this exactly. I want to use a RTE (rich text editor) within a macro I've created to handle page sections. I have successfully rendered the RTE within the macro. I can select my macroRte from the macro parameters panel. It even renders where I edit the values of my page section. I have attributed the alias of "macroRte" to the parameter. However, it is not storing the values. Each time I press submit it is wiping the content. I'm no Angular expert but i think that's the problem. Code below. Thank you.
View
Controller
Render
I hope this helps!
I've actually solved the problem using this github https://github.com/engern/Umbraco-custom-macro-parameters/tree/master/App_Plugins/MacroRichText
I have made the changes to the code above, meaning that the code is now working.
is working on a reply...