Skip to content

DOC-2326 - Improve custom_elements configuration documentation#4010

Open
kemister85 wants to merge 1 commit intotinymce/8from
hotfix/8/DOC-2326
Open

DOC-2326 - Improve custom_elements configuration documentation#4010
kemister85 wants to merge 1 commit intotinymce/8from
hotfix/8/DOC-2326

Conversation

@kemister85
Copy link
Contributor

@kemister85 kemister85 commented Mar 11, 2026

Ticket: DOC-2326

Site: Staging link

Changes:

  • modules/ROOT/partials/configuration/custom_elements.adoc:
    • Restructured and expanded documentation for the custom_elements configuration option
    • Added clear sections for simple string format and record format
    • Documented record properties (extends, attributes, children, padEmpty, componentUrl) with descriptions
    • Added @global attribute preset section and expanded HTML element set tables (html4, html5, html5-strict) to include global attributes
    • Corrected componentsUrl to componentUrl
    • Updated example to demonstrate padEmpty and componentUrl usage

- Document String and Object type formats with clear sections
- Add structured record format with extends, attributes, children,
  padEmpty, and componentUrl properties
- Add @global attribute preset section and tables for html4/html5 schemas
- Fix componentsUrl to componentUrl (correct API name)
- Update example with padEmpty and componentUrl usage
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