Check if pastebin can't be added always to body
#5307
Labels
browser:firefox
The issue can only be reproduced in the Firefox browser.
plugin:clipboard
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:task
Any other issue (refactoring, typo fix, etc).
Type of report
Task
Provide description of the task
Currently, we have a logic that checks the browser and decides if the pastebin should be added to the
body
or directly to thehtml
→ckeditor4/plugins/clipboard/plugin.js
Line 1117 in fa13662
However, the logic adds the pastebin to the
html
element only in Firefox, in every other browser the pastebin is inserted into thebody
. We should investigate if we can remove that logic and always insert the pastebin into thebody
. Especially that editables outside ofbody
are known to cause issues.Connected issues:
Other details
The text was updated successfully, but these errors were encountered: