/** @jsx jsx */ import { Editor } from 'slate'; import { jsx } from '../../../../../support/jsx'; export const input = ( Welcome to Slate YJS! ); export const expected = ( Welcome to SlateYJS! ); export function run(editor: Editor) { editor.apply({ type: 'merge_node', path: [0, 2], position: 0, properties: {}, }); editor.apply({ type: 'merge_node', path: [0, 1], position: 0, properties: {}, }); }