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.
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.
hello,
I ll check and test with 15.2 version tomorrow and I ll let you know
thanks
using Ctrl + V works (Y) in chrome
Hello Hugo,
Note that the description I provided above applies to all versions of our products (including the sample link running 15.2) because it’s what browsers support that matters most. Per that description, Chrome and other browsers perform their supported operations just fine without extra configuration, so I cannot reproduce any unwanted behavior you may be seeing. Any chance you are running an outdated version of Chrome?
That said, custom commands(buttons) in Chrome can only perform Cut/Copy as explained, but not paste. Are you sure you are using a supported paste operation (System menu, Ctrl+V)? Please review my previous post as to what is supported in each browser and how custom toolbar buttons differ from system menu and if you find behavior that doesn’t match the description let me know.
Hi,
we tested today the copy/paste feature in chrome and is not working, the link below is the sample, is there any other configuration needed ?
I have my privacy content cookie enabled.
thanks.
http://es.infragistics.com/samples/aspnet/html-editor/general-properties