From 024685e265a92084037a8553adda7eff1cdc9404 Mon Sep 17 00:00:00 2001 From: robonen Date: Mon, 8 Jun 2026 20:37:51 +0700 Subject: [PATCH] docs(editor): add an interactive editor playground MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A live @robonen/editor instance (default registry) as a doc section at /editor/playground: a reactive formatting toolbar, the bubble/slash menus, and a sample document exercising every block and mark — styled with the docs design tokens and wrapped in for SSR. Links it from the editor intro. --- vue/editor/docs/01-playground.vue | 309 ++++++++++++++++++++++++++++++ vue/editor/docs/intro.vue | 4 + 2 files changed, 313 insertions(+) create mode 100644 vue/editor/docs/01-playground.vue diff --git a/vue/editor/docs/01-playground.vue b/vue/editor/docs/01-playground.vue new file mode 100644 index 0000000..8272aed --- /dev/null +++ b/vue/editor/docs/01-playground.vue @@ -0,0 +1,309 @@ + + + + + + + diff --git a/vue/editor/docs/intro.vue b/vue/editor/docs/intro.vue index df98678..fd9ff98 100644 --- a/vue/editor/docs/intro.vue +++ b/vue/editor/docs/intro.vue @@ -146,6 +146,10 @@ const canBold = editor.command(toggleMark('bold'));`;

Where to next

Jump into the pieces you'll reach for first: