Skip to content

feat(advanced): store WYSIWYG content as Markdown (2.1.0) - #2

Merged
tacxou merged 3 commits into
mainfrom
feat/wysiwyg-markdown
Oct 19, 2026
Merged

tacxou merged 3 commits into
mainfrom
feat/wysiwyg-markdown

Conversation

@tacxou

@tacxou tacxou commented Oct 19, 2026

Copy link
Copy Markdown
Member

Summary

Prepares the 2.1.0 release.

  • options.contentType: 'markdown' stores the WYSIWYG value as a Markdown string (TipTap Markdown extension); source mode edits raw Markdown and the builder inspector offers the format.
  • @nuxt/ui peer dependency raised to ^4.10 — UInputRating only exists from 4.10.0, hosts on 4.8/4.9 failed to build.
  • Unpacked size budget raised from 3.0 MB to 3.5 MB: the rich WYSIWYG editor and AI assistant (already on main) take the tarball from 2.59 MB to 3.20 MB unpacked; packed size stays under 750 kB.
  • changelog/2.1.0.md covers the unreleased WYSIWYG/AI work from feat(advanced): add rich WYSIWYG features and AI SDK assistant #1 plus this PR.

Verification

Locally on the branch: yarn lint, yarn typecheck, yarn test:coverage, yarn test:scripts, yarn changelog:check, yarn package:check — all green.

Consumer check: Teaket's knowledge-base editor (contentType: 'markdown') built against a local tarball of this branch.

Accept `options.contentType: 'markdown'` on string controls: UEditor
serializes the document through TipTap's Markdown extension, source
mode edits the raw Markdown and the builder inspector offers the
format. Images and tables round-trip; resized image widths have no
Markdown equivalent and are dropped.

Prepare the 2.1.0 changelog, which also covers the unreleased rich
WYSIWYG features and AI assistant.
The rating control imports UInputRating, which first shipped in Nuxt UI
4.10.0: hosts on 4.8 or 4.9 satisfied the declared ^4.8 range but failed
to build. Align the peer and development ranges on ^4.10.
The rich WYSIWYG editor and AI assistant take the library tarball from
2.59 MB (2.0.2) to 3.20 MB unpacked; the packed size stays under its
750 kB budget.
@tacxou tacxou added enhancement New feature or request feat labels Oct 19, 2026
@tacxou tacxou self-assigned this Oct 19, 2026
@tacxou
tacxou merged commit 5e24dc3 into main Oct 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant