Skip to content

TINYDOC-3713 - Refresh feature page demos, unify demo configuration, and add core feature pages - #4465

Draft
kemister85 wants to merge 6 commits into
tinymce/8from
hotfix/8/TINYDOC-3713
Draft

kemister85 wants to merge 6 commits into
tinymce/8from
hotfix/8/TINYDOC-3713

Conversation

@kemister85

@kemister85 kemister85 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3713

Site: Staging branch

Note

This is a test PR. It trials a new format for the live demos on feature pages, and a new set of core feature pages, so the approach can be reviewed and agreed before anything is merged. It is not intended for release in its current form.

Why

Developers evaluating TinyMCE, and the LLMs that read our documentation, need to see what each feature lets them do and how far it goes. Today many demos show placeholder or instructional text rather than the feature at work, and features built into the core editor only appear as options on reference pages, so they are hard to find.

Changes:

  • Every live demo rebuilt (140 demos on 122 pages). Each demo uses its own realistic document that shows the feature's full range as soon as it loads, built only from markup the editor produces: real lists and headings, tables in the editor's own table markup, Tiny brand colors, and photos placed beside the text they illustrate. Every option, label, count, and step was checked against the plugin source and in the browser. The basic example, both full-featured demos, and the TinyMCE AI demos keep their original content, restyled.
  • A "Try it" card above each demo. The card sits on the page, outside the editor, so editing the demo cannot change it. It gives a task, numbered steps, and a collapsed "Configured in this demo" list of each option and what it changes. Cards live in partials/demo-guides/ and use attachments/demo-content/demo-guide.css, which follows the docs site theme. Demos now open on the editor rather than the JS tab.
  • Consistent demo configuration. Every demo starts from the basic example configuration: the default menu bar, the same 17 open-source plugins, and the standard toolbar, with the feature's own plugins and buttons first. Exceptions are kept where the demo teaches them: skins, chat-style and inline editors, menu examples, Uploadcare, and install snippets that their pages quote.
  • Core feature pages. A new Core features index and six feature pages: Block formats and styles, Font family, Font size, Image upload, Line height, and Text and background color. Each page explains what the feature does, shows a demo, then covers setup, options, toolbar buttons, menu items, and commands, using shared partials so nothing is written twice.
  • Visual review of every demo. Each demo was opened in Chrome at full width and at the normal docs width, and its card steps were tried in the real UI. Fixes include wrong weekdays, squeezed table columns, card labels that did not match the UI, content wider than the editor, and the Page Embed demo, where sandbox_iframes blocked the embedded simulation and map until their hosts were added to sandbox_iframes_exclusions. The Code plugin page now has its own demo on the same document as the Enhanced Code Editor demo, so the two can be compared.

Main pages changed:

  • Core features
    • New index of the features built into the core editor, linked from the Plugins page.
  • Accessibility Checker
    • The model for a premium plugin demo: every option shown, with planted issues and a verified count.
  • Line height
    • The model for one page per core feature: what it does, a demo, then integration.
  • Suggested Edits
    • Demos that open with existing work from named reviewers, here four demos on one page.
All updated demos (140 demos on 122 pages, plus the core features index)

Each link opens the section that holds the demo. Pages with more than one demo list each one.

Core features

Content options and URL handling

Collaboration

Premium plugins

TinyMCE AI

Media Optimizer and Tiny Drive

Open source plugins

Editor API (custom UI)

Enhanced Skins and Icon Packs

Setup, installation and editor modes

Open questions before merging:

  • The shared stylesheet loads the Inter font from Google Fonts, which needs a privacy and CSP decision.
  • CodePen exports do not pick up the shared stylesheets, because they use relative paths.
  • The Comments demos open with the sidebar showing, which leaves a narrow document column.
  • The font family box shows the raw font stack in any demo whose font list does not include Inter, the shared body font. The open source plugins demo now adds Inter to font_family_formats.
  • Export to PDF and Export to Word need one real export each to confirm the corrected converter options.

Pre-checks:

  • Branch is correctly prefixed:
  • modules/ROOT/nav.adoc has been updated (if applicable).
  • Files have been included where required (if applicable).
  • Build passes without console errors, warnings, or issues.

Review:

  • Documentation Team Lead has reviewed.

@kemister85
kemister85 force-pushed the hotfix/8/TINYDOC-3713 branch from d9b9865 to a6e3a23 Compare November 26, 2026 01:56
…n the visual review, and add a Code plugin demo.
…w and match the default editor output button and box to the site styles.
…o and rename the Enhanced Code Editor demo section to Interactive example.
…keeping only the restyled output button and box.
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.

1 participant