Opened 10 years ago
Last modified 9 years ago
#12095 closed Bug
Moving inline widget lose applied style (e.g. bold) — at Version 6
Reported by: | Daniele Arancia | Owned by: | |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 4.5.0 Beta |
Component: | General | Version: | 4.3 Beta |
Keywords: | Cc: |
Description (last modified by )
Part of: #11437
- open placeholder plugin
- select a placeholder
- apply "bold" style to selected placeholder (or another style change)
- drag the placeholder to another position
Result: moved placeholder lose applied style
Change History (6)
comment:1 Changed 10 years ago by
Keywords: | placeholder selection style removed |
---|---|
Version: | 4.4.1 → 4.3.4 |
comment:2 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Ok, Thanks, I understand, but there is an event that I can overwrite in order to be able to modify the placeholder widget's content to swap strong tag on click on bold button? I need to be able to drag and drop placeholder widget without losing applied style. Many thanks in advance! Daniele
comment:4 Changed 10 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Version: | 4.3.4 → 4.3 Beta |
From strictly technical POV it makes sense to move placeholder only when dragging placeholder. But from UX POV it definitely makes sense to move entire styling. The same as copy&paste works.
comment:5 Changed 10 years ago by
I'm setting temporarily milestone to 4.5, because we're working on drag and drop and will touch this part of code. Let's see if it will be fixed automatically.
comment:6 Changed 10 years ago by
Description: | modified (diff) |
---|---|
Milestone: | → CKEditor 4.5.0 |
Summary: | moving placeholder lose applied style → Moving inline widget lose applied style (e.g. bold) |
I was able to reproduce this issue from CKEditor 4.3.4 in every browser. Before this version placeholder plugin had bug not allowing it to be used with other plugins.
I don't think however that this problem is in fact a bug. Bold style is applied around the placeholder widget main wrapping tag. When you move placeholder you can't move parent tags around it. Widget doesn't care about its parent tags when dragged.
IMO when one wants bold place holder he should create such place holder plugin or modify existing plugin.