1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 09:59:48 +02:00

Add hanging option to unsetNodes (#5189)

Since this really just calls setNodes, it seems like it should offer the same options.
Without this change, doing something like applying a mark to the contents of a selected block with `hanging` works one way, while trying to do the reverse (remove the mark) cannot include the "hang".
This commit is contained in:
Brian Bucknam
2022-11-17 09:19:01 -08:00
committed by GitHub
parent 6909a8f7da
commit fbc9838fd7
3 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'slate': patch
---
Add hanging option to unsetNodes so it matches setNodes