Opened 12 years ago
Closed 12 years ago
#9534 closed Bug (fixed)
[Inline] Entire inline editable may be selected and copied from inside
Reported by: | Piotrek Koszuliński | Owned by: | Piotrek Koszuliński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | Core : Selection | Version: | 4.0 |
Keywords: | IBM | Cc: | satya_minnekanti@… |
Description
- Open inlineall sample.
- Focus first editor.
- Press ctrl+a, ctrl+c.
- Go to 3rd editor (right one).
- Paste.
- Editor was pasted with all classes and attributes.
This may be reproduced on 2nd editable (bottom left) after pressing shift+enter (inserting <br>, which is present in the first editor).
I reproduced this on Chrome and FF (latest and 3.6).
Change History (7)
comment:1 Changed 12 years ago by
Cc: | satya_minnekanti@… added |
---|---|
Keywords: | IBM added |
comment:2 Changed 12 years ago by
Owner: | set to Piotrek Koszuliński |
---|---|
Status: | new → assigned |
comment:4 Changed 12 years ago by
Yeap...even there's a long list of of pre-conditions to occur this bug, it's still pretty often to hit that in a real usage.
The browser is putting there the entire editable (instead of only it's content) in the paste bin, this's one one where "copybin" idea is to be the rescue ;)
IMO the severity of this one can be deferred to 4.0.1, if no easy solution can be found.
comment:5 Changed 12 years ago by
Status: | assigned → review |
---|
Temporary fix - heading which is an editable is stripped on paste.
In the future we shouldn't allow this heading to get copied, but to control this we'll need copybin.
comment:6 Changed 12 years ago by
Status: | review → review_passed |
---|
I've committed a small enhancement to the regex.
comment:7 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Few findings:
<br>
has to be inside the editable.