Tag: TinyMCE

  • Adding custom valid child tags to EPiServer TinyMCE

    In an attempt to prevent TinyMCE from splitting up the p-tags when dropping an EPiServer block into an XHtml property field in edit mode, I tried adding div as a valid child to p within the editor. As we have added custom rendering of your blocks for JSON output (see article React and EPiServer –…

  • EPiServer TinyMCE 3 Wrapping selection in unsupported aside tag

    For my current client, we had a need to allow EPiServer editors to wrap XHtmlSting field content in aside tags in a user friendly manner. The first most obvious thought went to the styles drop down list and EPiServer’s editor.css file, however after a few tries and a bit of Ilspy‘ing I realized that the…