-
Notifications
You must be signed in to change notification settings - Fork 6
I/5802: Handle clipboard properly in restricte editing mode. #13
Conversation
@Mgsy - it's an optimistic approach but should work. Could you check this PR with pasting in Restricted Editing mode?
|
@FilipTokarski, please check Chrome and Safari, I'll take Firefox. |
Steps to reproduce
Current resultThe plain text is pasted. Expected resultThe link is pasted. |
The same in Chrome and Safari. Apart from this, seems to work fine. |
Do we need the configuration for allowed attributes? Can't we have all text attributes allowed? Then, if I'm correct, it will be enough to add a callback allowing only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As commented.
In another way, we will get minor WTF if But we can also add this configuration later if requested so I can remove this from the PR. |
# Conflicts: # src/restrictededitingmodeediting.js # tests/restrictededitingmodeediting.js
@Reinmar: I've added the |
Lookin' good 🍬! |
Suggested merge commit message (convention)
Feature: Allow pasting content into exception areas in restricted editing mode. Closes ckeditor/ckeditor5#5802.
Additional information