Opened 10 years ago
Closed 10 years ago
#12095 closed Bug (fixed)
Moving inline widget lose applied style (e.g. bold)
Reported by: | Daniele Arancia | Owned by: | Piotr Jasiun |
---|---|---|---|
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 (13)
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) |
comment:7 Changed 10 years ago by
Status: | reopened → confirmed |
---|
Since @Reinmar says it may be doable, I'm confirming this issue.
NOTE: Just please remember to isolate this issue in order to avoid too greedy dragging in other situations.
comment:8 Changed 10 years ago by
We had no news since the bug opening. Do you plan to resolve this bug in any of the next releases? Thank you.
comment:9 Changed 10 years ago by
This will be fixed in 4.5.0. We've been working hard for last couple of months on many APIs required to fix this issue. See http://dev.ckeditor.com/query?group=status&milestone=CKEditor+4.5.0 for list of changes so far - many of there were required so we'll be able to close this ticket.
comment:10 Changed 10 years ago by
Priority: | Normal → High |
---|
comment:11 Changed 10 years ago by
Owner: | set to Piotr Jasiun |
---|---|
Status: | confirmed → assigned |
comment:13 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.