slate-debug-visualizer
is a slate integration for vscode-debug-visualizer. It provides visualization of slate document model, making debugging slate editor easlier.
# using npm
npm install slate-debug-visualizer --save
# or using yarn
yarn add slate-debug-visualizer
Just apply the plugin withVisualization
on your slate editor and the visualization is available in vscode-debug-visualizer
import { withVisualization } from 'slate-debug-visualizer'
const editor = () => withVisualization(createEditor())
A simple demo is available here