Can't access flyout menus in Rich Text editor if the field is on a popup (IE 11 only)

edited February 25, 2019 in Questions
We can't access flyout menus (like font color for example) if the Rich Text field is on a popup (in the IE 11 browser but it works in chrome and firefox). The Rich Text editor works in IE 11 if the field is not on a popup.

Comments

  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    David.  We have seen the Rich Text menu in the builder "freeze"  I've seen this happen in Chrome as well.  The only solution I've found so far is to save the page and reload - which refreshes the Javascript.   Once the refresh has happened the flyout menus should work - even in IE... 
  • edited January 14, 2016
    Rob, thanks for the quick reply.  The flyout menus like for font color, font size, etc. don't freeze, they flash for a split second and go away.  You can't get to them to select anything.  This ONLY happens on popups.  I tried the save/reload to no success.  I should have noted that this is a salesforce RT field that I am displaying in the popup -- not a skuid component.
  • edited January 14, 2016
    I should have noted that this is a salesforce RT field that I am displaying in the popup -- not a skuid component.
  • edited February 25, 2019
    Rob - this problem that my co-worker David reported sounds like a similar problem here: https://community.skuidify.com/skuid/topics/rich-text-area-field-does-not-work-in-popup

    Bascially, we created Salesforce rich text fields on an object.  The user can't use the rich text functions in IE when accessing the field on a Skuid page pop up.  The Salesforce native layout is ok, this is just a problem in  the skuid RTE.
  • edited September 1, 2016
    More info.  This old post from ckeditor seems to explain the issue perfectly. (https://dev.ckeditor.com/ticket/7175)
  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    We've confirmed this bug and added it to our backlog.  The CKEditor product gets lots of ire in the Dev Tank. 
  • Rob HatchRob Hatch 💎💎💎
    edited September 1, 2016
    Thanks for digging on that David.  I'm thinking that's not exactly the issue - as it relates to showModalDialog  which we are not using.. 
  • edited April 19, 2016
    David - I ran into the same issue and delved into the cke editor link you posted above. In one of the comments I found the following solution, which seems to fix things when added as an inline javascript resource:
    skuid.$.widget( "ui.dialog", skuid.$.ui.dialog, {

     /*! jQuery UI - v1.11.4 - 2015-06-05

      *  http://bugs.jqueryui.com/ticket/9087#comment:27 - bugfix

      *  http://bugs.jqueryui.com/ticket/4727#comment:23 - bugfix

      *  allowInteraction fix to accommodate windowed editors

      */

      _allowInteraction: function( event ) {

        if ( this._super( event ) ) {

          return true;

        }


        // address interaction issues with general iframes with the dialog

        if ( event.target.ownerDocument != this.document[ 0 ] ) {

          return true;

        }


        // address interaction issues with dialog window

        if ( skuid.$( event.target ).closest( ".cke_dialog" ).length ) {

          return true;

        }


        // address interaction issues with iframe based drop downs in IE

        if ( skuid.$( event.target ).closest( ".cke" ).length ) {

          return true;

        }

      }

    });
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!