Opened 10 years ago
Last modified 10 years ago
#14667 closed Bug
[IE] Removing background from selected text not working correctly — at Version 3
| Reported by: | Tomasz Jakut | Owned by: | Tomasz Jakut |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.5.10 |
| Component: | General | Version: | 4.5.11 |
| Keywords: | Internet Explorer | Cc: |
Description (last modified by )
Steps to reproduce
- Open http://ckeditor.dev/samples.
- In source mode, set editor's content to:
<p><span style="background-color: rgb(255,255,0);">Text with background</span></p>
- In WYSIWYG mode, select "with".
- Open console and paste into it:
var style = new CKEDITOR.style( { element: 'span', styles: { 'background-color': '#ff0' }, type: CKEDITOR.STYLE_INLINE } ); style.remove( CKEDITOR.instances.editor );
Note that "with" must be still selected inside the editor.
Expected result
Background is removed from the selected text.
Actual result
Background is removed from the entire paragraph.
Other details (browser, OS, CKEditor version, installed plugins)
Only in Internet Explorer 9+.
It can be reproduced only on master, ( git:0528e5aaeb104ffd283aeb4ff5efa2fcdb0616e4).
Change History (3)
comment:1 Changed 10 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 10 years ago by
| Owner: | set to Tomasz Jakut |
|---|---|
| Status: | confirmed → assigned |
comment:3 Changed 10 years ago by
| Description: | modified (diff) |
|---|
