Copied to clipboard

Flag this post as spam?

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


  • Duarte 1 post 21 karma points
    Jun 17, 2014 @ 14:42
    Duarte
    0

    Rich Text issues (Firefox)

    Hi,

    I'm using Umbraco 7.1.4 & Data Grid v1.1.1. I have a few issues in Firefox 30 (works sort of ok but not consistently in Chrome 35).

    1. I can't add macros with the RTE, the menu doesn't drop down despite the fact that the options are there. Print screen:

     

    2. I can't edit the source code.

  • Gabriel Tudose 3 posts 23 karma points
    Jul 06, 2014 @ 13:35
    Gabriel Tudose
    0

    Hi,

    I have the same problem with editting source.

    There are couple of rows with richtext editors.

    When I click on Open Editor

    and the click the Edit Source button

     

    the text area with tha source is readonly

     

    But there is a workaround:

    If you click the Insert macro button first 

    and then cancel the umbraco form, on re-entering on source editor the text area is editable.

    It's annoying. I think there is a focus or z-index issue.

    Gabriel Tudose

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

  • Andrew Williams 3 posts 52 karma points
    Sep 08, 2014 @ 14:22
    Andrew Williams
    0

    Hi,

    I too have come across this bug and did a bit of investigation - I also thought it was a z-index issue at first, but it seems to be firing a focus event fine when clicked.

    After looking through and debugging the data grid module's code, I couldn't really find where it was going wrong - so thought it may be an tinymce issue - so I ended up finding this in SO http://stackoverflow.com/questions/18111582/tinymce-4-links-plugin-modal-in-not-editable. I've tried Hary's answer and it fixed the issue.

  • Zar Ni Win Latt 5 posts 25 karma points
    Dec 24, 2014 @ 10:05
    Zar Ni Win Latt
    0

    Hi Andrew,

    I am having the same issue. Can you explain what code to add in what file?

    When I go to the link you provided, I got the following code

    $.widget("ui.dialog", $.ui.dialog, { allowInteraction: function(event) { return !!$(event.target).closest(".mce-container").length || this.super( event ); } });

    I have no idea where to add this code to? Please kindly advise. Thanks.

  • Magnus 4 posts 24 karma points
    Jan 08, 2015 @ 13:52
    Magnus
    0

    Zar,

    I added this to the very bottom of "u7dtg.editor.html":

    <script type="text/javascript">
        $(document).on('focusin', function (e) {
            e.stopImmediatePropagation();
        });
    </script>

    Not the best solution but it works for me.

  • Andrew Williams 3 posts 52 karma points
    Jan 08, 2015 @ 16:31
    Andrew Williams
    0

    Hi,

    Sorry for the really long delay, completely forgot to answer.

    Magnus' solution should work.

    Here's a diff to show what I've done.

Please Sign in or register to post replies

Write your reply to:

Draft