mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-01 13:18:29 +01:00
eda5c02e79
* fixed build for windows * fixed issue where undo of merge node does not restore the node back to its original properties * fixed lint issue * updated operation docs for additional property on split_node and merge_node * finished incomplete sentence in the docs. * updated test to also verify data is restored * renamed the 'original' property to 'properties' to be more consistent with similar operation interfaces, updated docs * got rid of extra operations property. * deserializing properties in merge_node and split_node, passing properties object in splitNodeByKey * missed committing operations modles. * updated operations.toJSON for new properties on merge_node and split_node * fix linting error * remove outdated comment. * expanded check for split node inverse to include inline nodes * partially revert update to test with deletion across inlines
Walkthroughs
- Installing Slate
- Adding Event Handlers
- Defining Custom Block Nodes
- Applying Custom Formatting
- Using Plugins
- Saving to a Database
- Saving and Loading HTML Content
Guides
General
Slate Core
- Block
- Change
- Character
- Data
- Document
- Inline
- Mark
- Node
- Operation
- Range
- Schema
- Text
- Value
- setKeyGenerator
- resetKeyGenerator
Slate React
- Editor
- Plugins
- Custom Nodes
- Core Plugins
- cloneFragment
- findDOMNode
- findDOMRange
- findNode
- findRange
- getEventRange
- getEventTransfer
- setEventTransfer