/** @jsx jsx */ import { Editor } from 'slate'; import { jsx } from '../../../../../support/jsx'; export const input = ( Hel l o {' '} w orld! ); export const expected = ( Hel l o w orld! ); export function run(editor: Editor) { editor.addMark('italic', true); }