I've recently been creating a dynamic content plugin which uses a PropertyXhtmlString for editors to input content.
Within the dynamic content overlay the TinyMCE instance seems to encounter an error with the tinymce.makeMap function. The error only occurs when trying to edit using the raw HTML view.
If I add simple text content, add classes and formatting to it using tinyMCE's interface and click save, all is well. If I then use TinyMCE's HTML view, change nothing, but click update and save I get the following error and all instances of TinyMCE on the page, even outside the DC overlay, are then broken until full refresh.
tinymce.makeMap is not a function
There's really no code to share, it's just a DC plugin with an XhtmlString property, i.e.
public ContentLightbox()
{
base.Properties = new PropertyDataCollection();
base.Properties.Add(_contentKey, new PropertyXhtmlString());
}
Morning all,
I've recently been creating a dynamic content plugin which uses a PropertyXhtmlString for editors to input content.
Within the dynamic content overlay the TinyMCE instance seems to encounter an error with the tinymce.makeMap function. The error only occurs when trying to edit using the raw HTML view.
If I add simple text content, add classes and formatting to it using tinyMCE's interface and click save, all is well. If I then use TinyMCE's HTML view, change nothing, but click update and save I get the following error and all instances of TinyMCE on the page, even outside the DC overlay, are then broken until full refresh.
There's really no code to share, it's just a DC plugin with an XhtmlString property, i.e.
Has anyone else encountered this?
Cheers, Kev