Skip to content

Commit 182a43c

Browse files
committed
feat(editor): add drag handle plugin
Expose headless block metadata and move commands for drag handles. Compose the docs playground handle, insertion line, and dragged-block overlay through consumer-owned UI.
1 parent e8486e7 commit 182a43c

14 files changed

Lines changed: 1791 additions & 7 deletions

File tree

apps/docs/src/app/docs/docs-nav.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export const DOCS_NAV: readonly DocsNavGroup[] = [
6969
items: [
7070
{ title: 'Slash Commands', href: '/docs/slash-command' },
7171
{ title: 'Mention', href: '/docs/mention' },
72+
{ title: 'Drag Handle', href: '/docs/drag-handle' },
7273
{ title: 'History (Undo/Redo)', href: '/docs/history' },
7374
{ title: 'Paste Rules', href: '/docs/paste-rules' },
7475
{ title: 'Placeholder', href: '/docs/placeholder' },

apps/docs/src/app/pages/(home).page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Playground } from '../playground/playground';
1616
1717
<section
1818
id="playground"
19-
class="mx-auto max-w-5xl px-4 pb-24 sm:px-6"
19+
class="mx-auto max-w-6xl px-4 pb-24 sm:px-6"
2020
aria-label="Live editor playground"
2121
>
2222
@defer (on viewport) {

0 commit comments

Comments
 (0)