Opened 11 years ago
Last modified 11 years ago
#10785 confirmed Bug
Editor content's stylesheet is removed from document after another editor's editable is reattached
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
- Open widgetquote sample from #9764.
- Switch between modes twice in first editor.
- See that widget lost its styles in second (inline) editor.
Or:
- Open datafiltering sample from master and find in dev tools last stylesheet (with data-cke-temp attr) in host page's head.
- Switch between modes twice.
- Stylesheet was removed...
Problem is somewhere here: https://github.com/ckeditor/ckeditor-dev/blob/master/core/editable.js#L681-L693
It seems that framed editor (wysiwygarea or sourcearea) does not increase stylesheet_ref, but it decreases it. Or that order of detach and new editable's setup is incorrect.
Change History (2)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 11 years ago by
Milestone: | CKEditor 4.3 |
---|