Skip to content

Commit

Permalink
Create eight-laws-grab-3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens authored Jul 22, 2021
1 parent 546ee49 commit 7c26cf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/eight-laws-grab-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@udecode/slate-plugins-core": minor
---

- New plugin option `deserialize.getFragment`: Function called on `editor.insertData` to filter the fragment to insert.
- New plugin option `deserialize.preInsert`: Function called on `editor.insertData` just before `editor.insertFragment`. Default: if the block above is empty and the first fragment node type is not inline, set the selected node type to the first fragment node type. If returns true, the next handlers will be skipped.

0 comments on commit 7c26cf3

Please sign in to comment.