tinymce / tinymce-react

Offical TinyMCE React component
MIT License
938 stars 151 forks source link

Internal pasting in mobile devices is considered external in paste_preprocess #411

Closed ashwingattani closed 1 year ago

ashwingattani commented 1 year ago

What is the current behavior? When pasting internally from tinyMCE editor on a mobile browser, the args in paste_preprocess gives args.internal as false.

As in the image, I am disabling the external paste option for the editor. This works well on desktop browsers, however, when I copy from the editor and try to paste back into the same editor, the args.internal return false.

Screenshot 2022-11-24 at 3 34 24 PM

What is the expected behavior? On copying from the editor, the paste should be termed as internal for mobile devices.

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3061

yacodes commented 1 year ago

@ashwingattani Seems like this issue is related to the tinymce itself, not the react integration.

I will close the issue due to it being non-related to this repo. Please open an issue in the original tinymce repository with a link to a reproducible demo on codepen or similar service.