Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
webhtmlEditor with Edge explorer
posted

In our web application we are using Infragistics Web HTML Editor v. 15.1.20151.2123 and some actions are not working properly if we use Microsoft Edge explorer and/or Chrome like Copy/Paste and when a line has bullet and is aligned to the right the bullet stayed in the left side.

 I tested this actions in your example page http://es.infragistics.com/samples/aspnet/html-editor/general-properties and also are failing.

Parents
No Data
Reply
  • 2671
    Offline posted

    Hello,

    I might need a bit more details for a specific behavior - copy/paste work as expected in both Edge and Chrome. For historic and security reasons clipboard and text manipulation varies between browsers and just recently we've seen some unification – Chrome and Firefox as of versions 42-ish support script calls for cut and copy only . We are in the process of updating out docs and in the meantime I will provide some details:

    Unlike keyboard shortcuts and system menus, if you are using the toolbar (or the custom right-click menu) copy/paste commands are executed in a semi-trusted event scope which means restrictions. Internet Explorer was the only browser that’d even allow such access after requesting user consent.
    In Edge the paste access has been revoked (there’s no more consent popup either) which brings it in line with other browsers I guess.  And while the new
    Clipboard API is under consideration for Edge , in its current state the spec says “Implementations should not let scripts call document.execCommand('paste') unless the user has explicitly allowed it.”
    Perhaps you can try the default system menu option (RightClickBehavior, it’s in the sample) if the custom one is not required, this way copy and paste right menu options will work normally. There’s already a resolved issue awaiting release for the next SR to show a not supported message when using the control paste buttons otherwise.

    As for the right alignment, that’s just the default style of the list element – bullets are not part of the text, thus not aligned with it. I tested modifying in CSS with list-style-position, but that doesn’t work only in IE11 or Edge as they apply the “justify” command result though an inner div with align attribute, which makes it nearly impossible to target or style even though custom code.

    Let me know if this information was useful and if I can assist further.

    Regards,

    Damyan Petev

    Associate Software Developer

    Infragistics, Inc.

Children