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:
committed by
GitHub
parent
6efe3d9a22
commit
06942c6d7e
5
.changeset/seven-waves-rhyme.md
Normal file
5
.changeset/seven-waves-rhyme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate-react': minor
|
||||
---
|
||||
|
||||
Make it possible to copy/paste void elements
|
Reference in New Issue
Block a user