import { TemplateResult, CSSResultArray } from 'lit'; import NileElement from '../../internal/nile-element'; import './preview'; /** * Raw HTML source editing mode. A split view: the raw HTML on the left, a * live rendered preview on the right, with a draggable divider between them * and a resizable body. The preview runs the same sanitizer the host applies * on the way back, so what you see is what the document becomes. Emits * `wysiwyg-source-apply` detail: { html } and `wysiwyg-source-cancel`. * * The code pane is a lightweight editor: a real `