Opened 11 years ago
Closed 11 years ago
#12022 closed Bug (fixed)
[Nested widgets] Outer widget's drag handler is not created if it has any nested widgets
Reported by: | Piotrek Koszuliński | Owned by: | Piotrek Koszuliński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.4.2 |
Component: | UI : Widgets | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
Part of: #10931.
- Open plugins/widget/dev/nestedwidgets.html
- See that simple boxes don't have drag handlers.
The reason is that we try to find existing drag handler by findOne( '.cke_widget_drag_handler_container' ), so since nested widgets are already initialised while we do this, we find their handlers.
Note that changing order will not solve the issue because when pasting all widgets have drag handlers, so we'll find them anyone. And not necessarily the one we get from findOne is the main widget's handler.
Change History (4)
comment:1 Changed 11 years ago by
Owner: | set to Piotrek Koszuliński |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Status: | assigned → review |
---|
comment:3 Changed 11 years ago by
Status: | review → review_passed |
---|
comment:4 Changed 11 years ago by
Milestone: | → CKEditor 4.4.2 |
---|---|
Resolution: | → fixed |
Status: | review_passed → closed |
Fixed on master with git:d50ebea on dev and 16e2fbc on tests.
Pushed branch:t/12022 on dev and tests.
I found an issue with outline and drag handler on FF though. Unpositioned handlers of nested widgets extends outline to the left (they are hidden outside of the view port).