AI OnAI Off
I ran into the same problem when upgrading to 7.18.
Solution for me was to get SelectionEditor.js from 7.15, which does not encode the html. (Create a dummy new EPiServer-project in Visual Studio and install the uncompressed dojoscripts by installing nuget-package EPiServer.CMS.UI.Sources. You need to specify a specific version, otherwise you automatically get the latest. Version history at nuget.)
1. Save the js-file as e.g. SelectionEditorHTML.js in /ClientResources/Scripts/Editors.
2. Add this to module.config.
<dojoModules> <add name="mysite" path="Scripts"/> </dojoModules>
3. In the method ModifyMetadata, change ClientEditingClass to
ClientEditingClass = "mysite.editors.SelectionEditorHTML";
Hi,
I have a list box in me block in edit mode that allow me to select an icon:
The Descriptor is like this:
The selection factory used is like this:
and It is defined like this:
It used to work fine but not it is just showing the unencoded Text field. It lloks like whe I updated from episerver 7 to 7.5 the selection started to encode the Text field while it was not doing it before.
Any Idea on how to obtain a SelectItem the will render the html as I write it instead of as text?