multica/apps/web/features/editor
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
..
extensions fix(editor): reliable markdown paste and inline code line spacing 2026-04-03 11:17:03 +08:00
utils refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
content-editor.css fix(editor): reliable markdown paste and inline code line spacing 2026-04-03 11:17:03 +08:00
content-editor.tsx refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
index.ts refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
title-editor.css refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00
title-editor.tsx refactor(editor): unify editor into features/editor with single markdown pipeline 2026-04-03 10:28:29 +08:00