Opened 13 years ago
Last modified 12 years ago
#9627 confirmed Bug
[Webkit] Clipboard toolbar accessible in read-only mode
| Reported by: | Olek Nowodziński | Owned by: | |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | Core : Read-only | Version: | 4.0 Beta | 
| Keywords: | Webkit | Cc: | 
Description
Watch the screencast.
- Go to http://ckeditor4.t/ckeditor/samples/readonly.html
 - Make it read-only.
 - L-click editable, ~30 pixels after the last word.
 - Clipboard is accessible.
 
Attachments (1)
Change History (10)
Changed 13 years ago by
| Attachment: | readonlyAccessClipboardToolbar.ogv added | 
|---|
comment:1 Changed 13 years ago by
| Milestone: | CKEditor 4.0 → CKEditor 4.0.1 | 
|---|---|
| Status: | new → confirmed | 
comment:2 Changed 13 years ago by
| Milestone: | CKEditor 4.0.1 | 
|---|
comment:3 Changed 13 years ago by
| Priority: | Normal → Low | 
|---|
comment:4 Changed 12 years ago by
| Keywords: | Webkit added | 
|---|---|
| Summary: | [Chrome] Clipboard toolbar accessible in read-only mode → [Webkit] Clipboard toolbar accessible in read-only mode | 
| Version: | 4.0 → 4.0 Beta | 
Problem can be reproduced from CKEditor 4.0 beta in Webkit. This particular TC enables paste buttons. There is also TC that enables paste and cut buttons:
- go to read-only sample.
 - Select few words in line
 - Click read-only button to make editor read-only
 - Select few words in line
 
Result: Paste and cut icons get enabled. You can't paste or cut text but this doesn't look nice.
In Opera and Firefox this TC enables only cut button thus i have reported it here: #10463
comment:7 Changed 12 years ago by
PasteFromWord button gets enabled when clicking anywhere outside the editor while the editor is in ReadOnly.
comment:9 Changed 12 years ago by
More accurate scenario: In Chrome:
- Go to http://ckeditor.com/demo#read-only
 - Click 'Make it editable'
 - Click inside the editor on the text
 - Click 'Make it read-only' - the paste buttons are disabled (that's ok)
 - Click outside the editor somewhere in the page - still disabled (that's ok)
 - Click inside the editor on the text - the paste buttons are enabled (not ok!)
 

Postpone because of severity: