1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-13 11:44:55 +01:00
Blake Embrey 07788eb2d9 Replace zero width blocks with newline before copy (#1644)
* Replace zero width blocks with newline before copy

* Fix linting issue

* Fixing linting again, sorry Github
2018-02-21 12:38:56 -08:00

26 lines
427 B
JavaScript

/** @jsx h */
import h from '../../helpers/h'
export const props = {}
export const value = (
<value>
<document>
<paragraph />
</document>
</value>
)
export const output = `
<div data-slate-editor="true" contenteditable="true" role="textbox">
<div style="position:relative">
<span>
<span>
<span data-slate-zero-width="n">\u200B</span>
</span>
</span>
</div>
</div>
`.trim()