Opened 13 years ago
Last modified 13 years ago
#10496 closed Bug
ACF blocks/overrides coreStyles_ behaviour on paste — at Version 3
| Reported by: | Jakub Ś | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 4.1 |
| Keywords: | Cc: | kagupta@… |
Description (last modified by )
To reproduce:
- Use below code for editor:
CKEDITOR.replace( 'editor1', { coreStyles_bold: { element: 'b', overrides: 'strong' }, allowedContent: true });
- try to paste HTML containing strong tag (you can paste sample text from other editor, even other browser).
- Result:
strongtag is left untouched on paste. - Expected:
strongtag should be transformed tobtag.
While coreStyles_* work well with initial content (strong tags are transformed to b) and when e.g. Bold is pressed (b tag is inserted), they fail when content is pasted.
Please also note if you remove allowedContent: true property all works as expected.
Problem can be reproduced from CKEditor 4.1.
Change History (3)
comment:1 Changed 13 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 13 years ago by
| Cc: | kagupta@… added |
|---|
comment:3 Changed 13 years ago by
| Description: | modified (diff) |
|---|
