Skip to content

docs: document WYSIWYG TinyMCE to Tiptap migration (CMS-2851)#774

Open
AlexGaillard wants to merge 3 commits into
mainfrom
alexgaillard/cms-2851-document-all-wysiwyg-changes-gotchas-and-data-loss-concerns
Open

docs: document WYSIWYG TinyMCE to Tiptap migration (CMS-2851)#774
AlexGaillard wants to merge 3 commits into
mainfrom
alexgaillard/cms-2851-document-all-wysiwyg-changes-gotchas-and-data-loss-concerns

Conversation

@AlexGaillard

@AlexGaillard AlexGaillard commented Jul 16, 2026

Copy link
Copy Markdown
Member

What

Documents the WYSIWYG (input-rich-text-html) editor engine swap from TinyMCE 6 → Tiptap 3 (Replace TinyMCE (WYSIWYG), CMS-2851).

Changes

  • Releases — new Version 12 breaking-change notice ("WYSIWYG editor rebuilt on Tiptap") covering first-edit HTML normalization and the tinymceOverrides deprecation, plus a matching changelog entry.
  • Interface reference (guides/data-model/interfaces) — reworded the WYSIWYG config table, dropped the TinyMCE style_formats/config doc links, marked Options Override deprecated, and linked to the breaking changes.
  • Accessibility — removed TinyMCE-specific alt+F10 shortcuts and the dead tiny.cloud link; replaced with editor/formatting shortcuts.

Scope

Only the entries carrying TinyMCE-specific detail were touched. The ~24 generic "WYSIWYG field" references across framework guides and tutorials were left as-is because the interface id and stored-HTML contract are preserved.

Note: CMS-2839 and CMS-2840 shipped, so semantic tags and class/id/data-*/aria-* attributes are preserved. The docs reflect the narrower residual scope (HTML comments, non-whitelisted inline styles, <script>/<style>, unrecognized tags).

Before merging

Two TODO(CMS-2851) flags are intentionally left inline for a maintainer to confirm:

  1. Release version12.2.0 is a placeholder (CMS-2650 still in progress).
  2. Toolbar keyboard-navigation keys — the exact Tiptap toolbar focus keys need verifying against the shipped build.

Fixes CMS-2851

AlexGaillard and others added 3 commits July 16, 2026 11:51
Add a Version 12 breaking-change notice covering the TinyMCE to Tiptap
engine swap (first-edit HTML normalization and the tinymceOverrides
deprecation) and a matching changelog entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop the TinyMCE style_formats/config links, mark Options Override
deprecated, and link to the v12 breaking changes for the normalization
behavior.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Remove the TinyMCE-specific shortcuts and dead tiny.cloud link, replacing
them with editor/formatting shortcuts and a pointer to the v12 change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AlexGaillard
AlexGaillard requested a review from a team as a code owner July 16, 2026 15:52
@linear-code

linear-code Bot commented Jul 16, 2026

Copy link
Copy Markdown

CMS-2851

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 16, 2026 3:56pm

Request Review

Read more: https://www.tiny.cloud/docs/tinymce/6/tinymce-and-screenreaders/
<!-- TODO(CMS-2851): confirm the exact toolbar keyboard-navigation keys for the Tiptap-based editor before publishing. -->

The WYSIWYG editor was rebuilt on [Tiptap](https://tiptap.dev) in Directus 12. See the [Version 12 breaking changes](/releases/breaking-changes/version-12#wysiwyg-editor-rebuilt-on-tiptap) for details.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should note the specific version

| Folder | Default folder to store uploaded files. Does not affect existing files. |
| Soft Limit | Used to limit the number of characters within the Data Studio. |
| Static Access Token | Token appended to asset URLs when displaying in the editor. |
| Custom Formats | JSON array of custom formatting styles to add to the editor's formatting menu. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this still supported in TipTap? @alvarosabu

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, with limitations CMS-2648

The editor's schema now defines which HTML it can represent. When you open an existing value, change it, and save, markup the schema does not support is normalized or removed. This only happens when a field is edited and saved. Values you do not touch are left as they are.

Most common HTML is preserved, including:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we list all the supported tags, not just the uncommon ones not typically supported by TipTap?

- `<script>` and `<style>` tags.
- Custom or unrecognized tags not listed above.

The editor shows a warning the first time you edit a field whose stored HTML would be normalized. You can dismiss this warning permanently. If you style or process stored HTML by tag, class, or attribute, review affected fields before saving.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we note the planned fallback field as well?


<!-- TODO(CMS-2851): confirm the release version/date before publishing. -->

- Directus 12.2.0 has a potential breaking change: the WYSIWYG (rich text) interface is now built on [Tiptap](https://tiptap.dev) instead of TinyMCE. Existing fields keep working, but stored HTML is normalized to supported markup on first edit and the **Options Override** (`tinymceOverrides`) option is deprecated. See the [Version 12 breaking changes](/releases/breaking-changes/version-12#wysiwyg-editor-rebuilt-on-tiptap).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not "potential".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants