feat(web): add markdown round-trip and replace textarea with Tiptap #501

Merged
jason.woltje merged 1 commits from feat/ms18-markdown-roundtrip into main 2026-02-24 01:40:35 +00:00
Owner

Summary

  • Add tiptap-markdown extension for markdown <-> rich text conversion
  • Update KnowledgeEditor to accept/emit markdown content (not HTML)
  • Replace EntryEditor's plain textarea with KnowledgeEditor WYSIWYG
  • Rewrite EntryEditor tests for the new component (mock KnowledgeEditor)
  • Content flow: markdown (stored) -> Tiptap (editing) -> markdown (saved)
  • Backend markdown -> HTML rendering pipeline unchanged

Test Plan

  • Lint passes (--max-warnings=0)
  • Typecheck passes
  • All 1175 tests pass (92 test files)
  • Manual: Create/edit knowledge entry uses rich text editor
  • Manual: Saved content is valid markdown

Implements TW-EDT-002.

## Summary - Add tiptap-markdown extension for markdown <-> rich text conversion - Update KnowledgeEditor to accept/emit markdown content (not HTML) - Replace EntryEditor's plain textarea with KnowledgeEditor WYSIWYG - Rewrite EntryEditor tests for the new component (mock KnowledgeEditor) - Content flow: markdown (stored) -> Tiptap (editing) -> markdown (saved) - Backend markdown -> HTML rendering pipeline unchanged ## Test Plan - [x] Lint passes (--max-warnings=0) - [x] Typecheck passes - [x] All 1175 tests pass (92 test files) - [ ] Manual: Create/edit knowledge entry uses rich text editor - [ ] Manual: Saved content is valid markdown Implements TW-EDT-002.
jason.woltje added 1 commit 2026-02-24 01:36:46 +00:00
feat(web): add markdown round-trip and replace textarea with Tiptap editor
All checks were successful
ci/woodpecker/push/orchestrator Pipeline was successful
ci/woodpecker/push/api Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
38e057820b
Add tiptap-markdown extension for markdown ↔ rich text conversion.
Update KnowledgeEditor to accept/emit markdown content. Replace
EntryEditor textarea with KnowledgeEditor (Tiptap WYSIWYG). Update
tests for the new editor component.

Content flow: markdown (stored) → Tiptap (editing) → markdown (saved).
The backend markdown → HTML rendering pipeline remains unchanged.

Implements TW-EDT-002.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jason.woltje merged commit d5ecc0b107 into main 2026-02-24 01:40:35 +00:00
jason.woltje deleted branch feat/ms18-markdown-roundtrip 2026-02-24 01:40:35 +00:00
Sign in to join this conversation.