Skip to content

Fire onChange on setContent + docs fix#17

Merged
marcellov7 merged 1 commit into
mainfrom
fix-setcontent-onchange
Jun 24, 2026
Merged

Fire onChange on setContent + docs fix#17
marcellov7 merged 1 commit into
mainfrom
fix-setcontent-onchange

Conversation

@marcellov7

Copy link
Copy Markdown
Owner

Follow-up to #16.

  • setContent now fires the onChange callback so listeners are notified of programmatic changes (the handler is stored on the editor container in init).
  • Removed stray blank lines after setContent.
  • README: closed the <p> tag in the setContent example.

🤖 Generated with Claude Code

- setContent now notifies the onChange callback (stored on the
  container in init) so listeners are aware of programmatic changes
- remove stray blank lines after setContent
- fix README example: close the <p> tag in the setContent snippet

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@marcellov7
marcellov7 merged commit ff6110a into main Jun 24, 2026
@marcellov7
marcellov7 deleted the fix-setcontent-onchange branch June 24, 2026 19:51
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