Copied to clipboard

Flag this post as spam?

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


  • Brendan Rice 538 posts 1099 karma points
    Mar 15, 2011 @ 02:47
    Brendan Rice
    0

    IE Bug with Macro inside Rich Text Editor

    I have a xslt macro that generates a table. The macro is allowed to be used in the editor.

    The bug is that if I type into a rich text editor hit return then enter the macro (it has 1 parameter) the macro end up being the first thing in the editor and there is no way of getting rid of it without deleting it.

    Has anyone experienced anything similar?

    Any help is really appreciated as I need this fixed for a demo.

  • Donald St. Martin 83 posts 128 karma points
    Mar 15, 2011 @ 03:32
    Donald St. Martin
    1

    Brendan,

    What version of IE and Umbraco are you using?

    I tested my install (v4.5.2) with IE8 and didn't experience any issues.  One thing you can do is go into the HTML view and swap the two components.  Hopefully it doesn't flip back after you update the code.

    --
    Donald

  • Brendan Rice 538 posts 1099 karma points
    Mar 15, 2011 @ 04:15
    Brendan Rice
    0

    Hi Donald,

    thanks for the reply, I was hoping to avoid going near the HTML view as the macro is supposed to make things easy for the client.

    I am using IE8 and Umbraco 4.6.1, I am near the end of  a build so don;t want to upgrade if I can get away with it.

    Any other ideas?

    B

  • ridi 71 posts 103 karma points
    Mar 15, 2011 @ 08:00
    ridi
    0

    Hi Brendan,

    same problem with me ... the solution for now is using HTML view or you can split the data type one for the macro and one for the casual text based content

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 15, 2011 @ 08:04
    Jan Skovgaard
    0

    Hi Brendan

    Does this also happen if you use another browser?

    /Jan

  • Brendan Rice 538 posts 1099 karma points
    Mar 16, 2011 @ 11:54
    Brendan Rice
    0

    Hi Jan,

    this only happens in IE so it looks like a browser specific bug.  Have you any quick fixes or patches I could apply please, it is a bit of a thorn in the side for my client.

    Thanks,

    Brendan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 18, 2011 @ 18:48
    Jan Skovgaard
    0

    Hi Brendan

    Sorry about the late reply but been a bit busy.

    Does this also happen if you render your IE8 as IE7?

    /Jan

  • James Galloway 5 posts 25 karma points
    Mar 30, 2011 @ 23:58
    James Galloway
    0

    I am also experiencing the same problem, in IE8 and IE8 rendering as IE7.

    Other IE only issues I am having with macros in the Richtext editor are:

    • Macro reverting to it's original content after clicking an exisiting macro in the RTE, editing properties and resaving the node.
    • Deleting macros that precede text sees the text enter the macro (dotted border div) - upon saving the node this text and the macro frame are removed

    Attempting to delete an empty macro frame throws the following javascript error:

    Message: Object required

    Line: 4724
    Char: 4
    Code: 0

    URI: http://localhost:9901/umbraco/plugins/tinymce3/tinymce3tinymceCompress.aspx?rnd=4e6ba21a-43e4-4dde-b14a-a52587013b3d&module=gzipmodule&themes=umbraco&plugins=umbracoimg,paste,inlinepopups,table,spellchecker,advlink,media,noneditable,umbracocss,umbracomacro&languages=en

    Any help would be greatly appreciated.

  • Brendan Rice 538 posts 1099 karma points
    Apr 11, 2011 @ 13:23
    Brendan Rice
    0

    This seems to be fixed in Umbraco 4.7 if anyone is experiencing the bug in an older version an upgrade might be in order

Please Sign in or register to post replies

Write your reply to:

Draft