svelte-lexical
svelte-lexical copied to clipboard
Implement importJSON, exportJSON and importDOM methods for HorizontalRuleNode and ImageNode
Following warnings are generated from lexical:
HorizontalRuleNode should implement "importJSON" method to ensure JSON serialization works as expected
HorizontalRuleNode should implement "exportJSON" method to ensure JSON serialization works as expected
ImageNode should implement "importDOM" method to ensure HTML serialization (important for copy & paste) works as expected
ImageNode should implement "importJSON" method to ensure JSON serialization works as expected
ImageNode should implement "exportJSON" method to ensure JSON serialization works as expected