| /** @jsx jsx */ | |
| import { jsx } from 'slate-hyperscript' | |
| export const input = ( | |
| <text b> | |
| <text a>word</text> | |
| </text> | |
| ) | |
| export const output = { | |
| text: 'word', | |
| a: true, | |
| b: true, | |
| } | |
| /** @jsx jsx */ | |
| import { jsx } from 'slate-hyperscript' | |
| export const input = ( | |
| <text b> | |
| <text a>word</text> | |
| </text> | |
| ) | |
| export const output = { | |
| text: 'word', | |
| a: true, | |
| b: true, | |
| } | |