Add visual preview (#26947)

GitOrigin-RevId: f77b59219909971b11416f196783b3ab7198ed91
This commit is contained in:
Alf Eaton
2025-07-10 08:07:28 +00:00
committed by Copybot
parent 3e9d60c25a
commit d617fd0754
7 changed files with 183 additions and 3 deletions
@@ -94,7 +94,7 @@ const parsedAttributesConf = new Compartment()
* A view plugin which shows the editor content, makes it focusable,
* and restores the scroll position, once the initial decorations have been applied.
*/
const showContentWhenParsed = [
export const showContentWhenParsed = [
parsedAttributesConf.of([EditorView.editable.of(false)]),
ViewPlugin.define(view => {
const showContent = () => {