#12739 closed Bug (fixed)
Link loses inline styles when edited without dialogadvtab
Reported by: | rory | Owned by: | Olek Nowodziński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.8 |
Component: | General | Version: | 4.4.3 |
Keywords: | Cc: |
Description
When editing a link, inline styles are stripped even when allowedContent = true.
This only affects the "standard" version, not the "full" version
To reproduce, right click on "Styled Link" and edit the URL
Standard 4.4.5, Issue present. http://jsfiddle.net/bdzht7p6/
Full 4.4.5, Issue NOT present. http://jsfiddle.net/xag8c1ow/
Change History (9)
comment:1 Changed 10 years ago by
Component: | Core : Editable → General |
---|---|
Status: | new → confirmed |
Version: | 4.4.5 |
comment:2 Changed 10 years ago by
Summary: | Link plugin ignores allowedContent setting → Link loses inline styles when edited without dialogadvtab |
---|
comment:5 Changed 10 years ago by
Related pull request: https://github.com/ckeditor/ckeditor-dev/pull/184
comment:6 Changed 10 years ago by
Owner: | set to Olek Nowodziński |
---|---|
Status: | confirmed → review |
Changes in branch:t/12739. I simplified tests a little bit.
comment:7 Changed 10 years ago by
Milestone: | → CKEditor 4.4.8 |
---|
comment:8 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
Fixed on master with git:55a9c5b.
comment:9 Changed 10 years ago by
It turned out that I haven't included a.nowodzinski's changes in tests, so I merged them now – git:445ff99.
This happens due to the missing dialogadvtab (
removeDialogTabs : 'link:advanced'
) plugin which is enabled in the full preset, but not in the standard one. So the quick workaround is to enable that plugin.Without the plugin (and with the ACF off) it should not be possible to edit the link styles, but the link styles should not be lost when editing it.