Opened 4 years ago

Closed 3 years ago

#14599 closed Bug (expired)

disabled editor, still being able to paste

Reported by: edulid Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

  1. enable 'Cut', 'Copy', 'PasteText' in the toolbar
  2. select some text in the editor (previously set with .setData()
  3. the "copy" button gets enabled, correct
  4. click anywhere else, then right click -> the "pasteText" button gets enabled. And now you can paste text, although the ckEditor is disabled. Morover, when you paste text, the whole contents are being replaced!!!

Using version 4.5.8.

The same if you use the right click menu: if you click 2 or more times with the right click, you can select "paste" in the context-menu. This should be disabled if the ckeditor is disabled.

Change History (3)

comment:1 Changed 4 years ago by edulid

Of course, I forgot to mention, that the editor is disabled (here as step 0. : disable editor)

comment:2 Changed 4 years ago by Jakub Ś

Status: newpending
Version: 4.5.9 (GitHub - master)

I could not reproduce that. Please provide screen cast for this problem and tell in which OS and browser it happens.

NOTES:

  1. What does it mean to disable? Is it {{CKEDITOR.instances.editor1.setReadOnly(true);}}}?
  2. What does it mean enable Cut in the toolbar? Button is already there and when you make editor read-only button becomes disabled. Please explain in more detail what do you mean.

comment:3 Changed 3 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy