[wp-trac] [WordPress Trac] #40429: Right Click for Paste not allowed - use CTRL+V
WordPress Trac
noreply at wordpress.org
Tue May 2 01:30:59 UTC 2017
#40429: Right Click for Paste not allowed - use CTRL+V
--------------------------+-----------------------------
Reporter: sdpate48 | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Future Release
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: | Focuses: accessibility
--------------------------+-----------------------------
Changes (by azaozz):
* keywords: has-patch =>
Comment:
@sdpate48 thanks for the bug report.
> The visual editor is forcing the user to use CTRL+V/CMD+V to paste
contents.
This is not the case. The visual editor shows the error message when
pasting by using the context (right-click) menu fails. This is not new.
That message has been there for a while. Seems that a recent security
related change in Edge has started to trigger it.
I agree that the text of that error message can be better. Seems it will
be updated in the next TinyMCE version in 4.8. Also the browser menu can
still be used, only the context menu fails. See
https://wordpress.slack.com/archives/C0UCMQP0F/p1493685974261191.
@sagarprajapati not sure if this patch would work. It prevents pasting of
HTML when the clipboard cannot be accessed. Then pasting from the context
menu will be "plain text" but pasting with Ctrl+V or the browser menu will
be with HTML tags and look better. Then the problems will be: "When I
paste from the context menu, all tags disappear!" :)
In any case this has to be fixed or improved upstream. Better to make a PR
for TinyMCE: https://github.com/tinymce/tinymce. Maybe pasting the plain
text and then showing an error message explaining why it is just plain
text would be better user experience?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40429#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list