From 53c725d3b2e2994ba4f037b54d3b365aa141add0 Mon Sep 17 00:00:00 2001 From: robonen Date: Mon, 8 Jun 2026 21:02:30 +0700 Subject: [PATCH 1/2] docs(editor): richer playground (drag, multiplayer, live output) + drop contenteditable outline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reworks the editor playground into a tabbed showcase: - Rich text & blocks: drag-to-reorder handles, bubble/slash menus, and a live output panel (block/word counts, selection readout, document JSON). - Multiplayer: two CRDT replicas synced over an in-memory channel with remote cursors, an in-sync indicator, and a Connected/Offline toggle that demonstrates divergence → convergence. Also removes the focus outline on the contenteditable (outline: none on the editable surface). --- vue/editor/docs/01-playground.vue | 372 ++++++++++++++++++++---------- 1 file changed, 253 insertions(+), 119 deletions(-) diff --git a/vue/editor/docs/01-playground.vue b/vue/editor/docs/01-playground.vue index 8272aed..6943eea 100644 --- a/vue/editor/docs/01-playground.vue +++ b/vue/editor/docs/01-playground.vue @@ -1,16 +1,19 @@