TinyMCE interprets my iframes as media (1 post)

  1. maxe___
    Posted 4 years ago #

    The TinyMCE editor interprets my syntax highlighter code

    [cc escaped="true" lang="html"]<iframe src="your.domain.tld/path/to/webviewer/TSViewer.php" frameborder="0" scrolling="0" width="320" height="240"></iframe>[/cc]
    as mceMediaItem.
    That's why the syntax highlighter plugin is not working anymore.
    TinyMCE adds different width and height attributes.

    Is there any solution how to disable this rendering of iframes?
    The same happens with script-tags and pre-tags around are getting deleted completly.

    See http://s3.amazonaws.com/awesome_screenshot/61734?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1331372933&Signature=DZ8oIOtfGO2ootznBb8DayEBHgg%3D
    for a screenshot


Topic Closed

This topic has been closed to new replies.

About this Topic