plate icon indicating copy to clipboard operation
plate copied to clipboard

Reset Node plugin messed up caret positioning on Safari

Open albertpurnama opened this issue 4 years ago • 0 comments

Description

Upon deleting a blockquote block, the Safari caret position jumps to the beginning of the example as shown in the video.

Recording

https://user-images.githubusercontent.com/14824254/121743275-f5672100-cab5-11eb-89d1-2cb6d63fae2f.mov

Sandbox

https://slate-plugins.udecode.io/docs/plugins/reset-node/

Steps

To reproduce the behavior:

  1. Fully delete "blockquote" using backspace

Expectation

https://user-images.githubusercontent.com/14824254/121743455-3cedad00-cab6-11eb-934b-1005a587a73b.mov

Environment

  • Slate Version: Slate version currently used in slate plugin example
  • Operating System: MacOS
  • Browser: Safari 14.1.1

Context

Add any other context about the problem here.

albertpurnama avatar Jun 11 '21 20:06 albertpurnama