Opened 8 years ago
Closed 8 years ago
#14912 closed Bug (duplicate)
Paste should match style of target context when forcePasteAsPlainText is enabled
Reported by: | vdk9000 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- Download standard package from http://ckeditor.com/download
- Add to config.js: config.forcePasteAsPlainText = true;
- Open samples/index.html in browser
- Bold the entire paragraph "I'm an instance of CKEditor"
- Select and copy the text "Congratulations!"
- Click inside the bolded paragraph and press CMD+V (Mac) to paste
Expected result
Pasted text should match the style of the target context (i.e. bold text), since the text is without formatting of it's own (plain text).
Actual result
Pasted text does not respect the formatting of it's new context. The bold element is split up into two at the position of paste.
Other details (browser, OS, CKEditor version, installed plugins)
- Mac OS X 10.9.4
- Google Chrome 53.0.2785.116 (64-bit)
- CKEditor 4.5.11 (revision 3876e73)
- Standard plugins
Attachments (1)
Change History (3)
Changed 8 years ago by
Attachment: | Näyttökuva 2016-10-7 kello 14.08.12.png added |
---|
comment:1 Changed 8 years ago by
Summary: | When using forcePasteAsPlainText it should match style of target context → Paste should match style of target context when forcePasteAsPlainText is enabled |
---|
comment:2 Changed 8 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Version: | 4.5.11 |
This is a duplicate of #16454.
The result