ckeditor / ckeditor4-vue

Official CKEditor 4 Vue component
Other
75 stars 17 forks source link

Undo/redo using keyboard shortcuts escaping divarea editor #149

Closed ChadMcCaulley closed 1 year ago

ChadMcCaulley commented 1 year ago

Type of report

Bug

Summary

When using one or more divarea editors, undoing and redoing changes when no more changes exist (history is empty); focus jumps to the previous focused element.

Provide detailed reproduction steps (if any)

Steps for editor

  1. Type some value into the editor
  2. Press ctrl+z or ctrl+shift+z two or more times
  3. Focus will move from the editor to the parent document

Steps for 2 or more editors

  1. Type some value into one of the editors
  2. Move focus to another editor by tabbing or clicking
  3. Type some value into the second editor
  4. Press ctrl+z or ctrl+shift+z two or more times
  5. Focus will move to the first editor and undo/redo the changes

Expected result

Should disable the undo button when there is nothing left to undo and ctrl+z should have no effect.

Actual result

Focus jumps to most recent focused element or the parent DOM

Other details

KarolDawidziuk commented 1 year ago

Hi @ChadMcCaulley

I cannot reproduce your issue. Could you provide a sample that will show your issue?

You can fork and re-use our template: https://codesandbox.io/s/ekuyo

github-actions[bot] commented 1 year ago

It's been a while since we last heard from you. We are marking this issue as stale due to inactivity. Please provide the requested feedback or the issue will be closed after next 7 days.

github-actions[bot] commented 1 year ago

There was no activity regarding this issue in the last 14 days. We're closing it for now. Still, feel free to provide us with requested feedback so that we can reopen it.