Skip to content

DOC-3388: Add getContent and setContent examples to save-content partial#4052

Open
kemister85 wants to merge 1 commit intofeature/8/DOC-3387from
feature/8/DOC-3387_DOC-3388
Open

DOC-3388: Add getContent and setContent examples to save-content partial#4052
kemister85 wants to merge 1 commit intofeature/8/DOC-3387from
feature/8/DOC-3387_DOC-3388

Conversation

@kemister85
Copy link
Copy Markdown
Contributor

Summary

  • Adds "Get and set content programmatically" section to save-content.adoc with runnable editor.getContent() and editor.setContent() examples
  • Addresses Context7 benchmark Q3 (score 12/100)

Source validation

  • editor.getContent(args?) confirmed at Editor.ts:880-883
  • editor.setContent(content, args?) confirmed at Editor.ts:858-860
  • getContent({ format: 'text' }) option confirmed in source JSDoc

Test plan

  • API signatures verified against tinymce source (Editor.ts)
  • Examples use tinymce.activeEditor consistent with source JSDoc
  • Antora build passes with no errors on modified files
  • xref links to API docs match existing structure

Add programmatic get/set content section with runnable examples
using editor.getContent(), getContent({ format: 'text' }), and
editor.setContent() to address Context7 benchmark Q3 (12/100).
@kemister85 kemister85 requested review from a team and soritaheng as code owners April 13, 2026 02:19
@kemister85 kemister85 requested review from EkimChau, ShiridiGandham and tiny-james and removed request for a team April 13, 2026 02:19
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.

2 participants