multica/apps/web/features/editor/extensions
Naiyuan Qing b5924ffa99 fix(editor): reliable markdown paste and inline code line spacing
Markdown paste: replace heuristic-based detection with a single
deterministic check — only use HTML clipboard path when source is
another ProseMirror editor (identified by data-pm-slice attribute).
All other pastes (VS Code, text editors, terminals, .md files) parse
text/plain as Markdown via @tiptap/markdown.

Inline code: add box-decoration-break: clone and line-height: 2 so
multi-line inline code renders with proper spacing between lines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 11:17:03 +08:00
..
code-block-view.tsx refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
file-upload.ts refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
index.ts refactor(editor): style links with brand color and subtle underline 2026-04-03 10:47:19 +08:00
markdown-paste.ts fix(editor): reliable markdown paste and inline code line spacing 2026-04-03 11:17:03 +08:00
mention-extension.ts refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
mention-suggestion.tsx refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
mention-view.tsx fix(editor): improve mention card sizing and vertical alignment 2026-04-03 10:44:04 +08:00
submit-shortcut.ts refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00