Skip to content

TINYDOC-3670: Document setContent() arguments, undo behavior, and BeforeSetContent, and add a what-to-avoid section. - #4420

Open
kemister85 wants to merge 1 commit into
tinymce/8from
hotfix/8/TINYDOC-3670
Open

kemister85 wants to merge 1 commit into
tinymce/8from
hotfix/8/TINYDOC-3670

Conversation

@kemister85

@kemister85 kemister85 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3670

Site: Staging branch

Changes:

  • editor-save-and-submit.adoc — retitled to "Getting, setting, and saving editor content" and added sections on getting and setting content, the setContent() arguments (no_events, no_selection), adding an undo level, changing content with BeforeSetContent, and what to avoid.
  • events.adoc, save-content.adoc, nav.adoc, initial-configuration.adoc — linked the BeforeSetContent/SetContent rows and the install pages' save section to the new sections, and updated the nav and index entries.

Note: The API reference entry for setContent() is generated from the JSDoc; that change is tracked in TINYMCE-15139.

Pre-checks:

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

Review:

  • Documentation Team Lead has reviewed.

…oreSetContent, and add a what-to-avoid section.
@kemister85
kemister85 requested a review from MitchC1999 October 29, 2026 06:11
@kemister85 kemister85 added this to the TinyMCE 8.10.2 milestone Oct 29, 2026
@kemister85
kemister85 marked this pull request as ready for review November 4, 2026 00:49
@kemister85
kemister85 requested review from a team and soritaheng as code owners November 4, 2026 00:49
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