mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-18 13:11:17 +02:00
feat: add optional method to decoration object (#5776)
This commit is contained in:
5
.changeset/tiny-cheetahs-ring.md
Normal file
5
.changeset/tiny-cheetahs-ring.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'slate': minor
|
||||
---
|
||||
|
||||
Add `merge` optional function to decorations and change related type signatures to `DecoratedRange`. Now developers can specify how two decoration object with the same key but different value are merged together if they overlap"
|
Reference in New Issue
Block a user