1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-16 12:14:14 +02:00

Fix Copy/pasting void elements is not working (#5121)

* Create new function hasSelectableTarget and use it instead of hasEditableTarget. Fixes Copy/pasting void elements is not working https://github.com/ianstormtaylor/slate/issues/4808

* Add changeset

* Revert a change that made editable void not editable and add cypress test for editing editable void

* Extract methoods into easily overridable with help from @alex-vladut
This commit is contained in:
Laufey Rut Guðmundsdóttir
2022-11-17 16:17:10 +00:00
committed by GitHub
parent 6efe3d9a22
commit 06942c6d7e
4 changed files with 103 additions and 61 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': minor
---
Make it possible to copy/paste void elements