Skip to content

docs: update block settings MenuConfig example - #3021

Merged
neSpecc merged 1 commit into
codex-team:nextfrom
Sion612:docs/2616-block-settings-menu-config
Aug 31, 2026
Merged

docs: update block settings MenuConfig example#3021
neSpecc merged 1 commit into
codex-team:nextfrom
Sion612:docs/2616-block-settings-menu-config

Conversation

@Sion612

@Sion612 Sion612 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • document the supported MenuConfig return value for block renderSettings()
  • add an example with active/toggle behavior and an onActivate callback
  • retain the documented HTMLElement fallback for custom controls

Testing

  • yarn lint
  • yarn build
  • yarn build:test
  • Cypress Chrome: test/cypress/tests/api/tools.cy.ts (14 passing)
  • Cypress Chrome: full suite (351 passing across 40 specs)
  • git diff --check

@neSpecc

neSpecc commented Aug 31, 2026

Copy link
Copy Markdown
Member

Btw this should be fixed at docs repo https://github.com/codex-team/editorjs.io#update-docs-data

@neSpecc
neSpecc merged commit 30e1f79 into codex-team:next Aug 31, 2026
@Sion612

Sion612 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Btw this should be fixed at docs repo https://github.com/codex-team/editorjs.io#update-docs-data

Thanks for the pointer! Got it — I’ll take a look at the docs workflow in editorjs.io and follow up there.

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