Vulnerability in EPiServer.Forms
I want to create a dynamic content control that has properties including xhtml properties.
I have set it up to use a settings control e.g.
GuiPlugIn(Url = "~/SOMEPATH_SettingsControl.ascx", Area = PlugInArea.DynamicContent)]
In the settings control I am currently just using a textbox to input this, but this is not very good because users need to know all the html markup and manually type it in.
Does anyone know how to display a TinyMCE (or other html editor) in the settings control?
Check this page for an example of the simplest way to create a setting ui with episerver properties:
RegardsLinus EkströmEPiServer Development Team
I have created a settings user control and written all the code for the Propertydatacollection and saving the properties.
The thing I am missing is the code or markup for rendering an html editor instead of a textbox on the settings user control.
My first suggestion was to remove the url property from the DynamicContentPlugIn attribute and let EPiServer auto-create the ui. If this is not an option and you want to customize the ui please the "Using the TinyMCE Editor from Template Pages" section in the tinymce developers guide tech note on how to add/configure an editor in your custom code: