Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan 188 posts 380 karma points
    Jun 20, 2012 @ 11:16
    Johan
    0

    Inserting iframe into text editor

    I'm using the "MySnippets for TinyMCE" package in Umbraco 4.7.2 (Assembly version: 1.0.4500.21031) and am trying to insert a vimeo clip in to the editor. It works perfect on the first "Save and publish" but if i push the "Save and publish" a second time the iframe gets stripped away. This:

    <iframe src="http://player.vimeo.com/video/44297275?title=0&amp;byline=0&amp;portrait=0&amp;color=e95d26" width="220" height="124" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

    Turns into this:

    <object width="220" height="124" data="http://player.vimeo.com/video/44297275?title=0&amp;byline=0&amp;portrait=0&amp;color=e95d26" type="application/x-shockwave-flash"><param name="src" value="http://player.vimeo.com/video/44297275?title=0&amp;byline=0&amp;portrait=0&amp;color=e95d26" /><param name="frameborder" value="0" /><param name="webkitallowfullscreen" value="" /><param name="mozallowfullscreen" value="" /><param name="allowfullscreen" value="" /></object>

    I've followed this article http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/allow-any-markup-in-the-tinymce-editor

    And i have set "TidyEditorContent" to False in umbracoSettings.config. But still this happens :(

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Jun 21, 2012 @ 19:19
    Dan Diplo
    0

    This won't help with your problem, but I find it easy to do something like this using an editor-enabled Macro.

  • Richard Barg 358 posts 532 karma points
    Aug 14, 2013 @ 17:50
    Richard Barg
    0

    This may be a bug. We have seen this happen as well when we try to resize certain images and likewise w/anchor links. We're on 4.71.

Please Sign in or register to post replies

Write your reply to:

Draft