Skip to content

docs: add valid block tune class example - #3087

Draft
NginxL wants to merge 1 commit into
codex-team:nextfrom
NginxL:b08-block-tune-example-2563
Draft

NginxL wants to merge 1 commit into
codex-team:nextfrom
NginxL:b08-block-tune-example-2563

Conversation

@NginxL

@NginxL NginxL commented Dec 5, 2026

Copy link
Copy Markdown

Description

Adds a complete minimal Block Tune example with the required static get isTune() getter and explicitly notes that an instance isTune() method is not sufficient.

This addresses the code-example improvement suggested by a maintainer in #2563. The existing base-structure paragraph mentioned the static getter, but none of the examples showed it.

Refs #2563.

Checks

  • Verified the tool factory reads constructable.isTune in src/components/tools/factory.ts.
  • git diff --check

Gaps

  • Documentation-only change; the Editor.js test suite was not run because dependencies are not installed under the task's no-new-dependencies constraint.

AI disclosure

This change was prepared with assistance from an AI coding agent. The relevant source and final diff were reviewed before submission.

Show the required static isTune getter in a complete minimal example and clarify that an instance method is not sufficient.

Refs codex-team#2563

Assisted-by: DSH coding agent
Signed-off-by: NginxL <8777777+NginxL@users.noreply.github.com>

This branch has not been deployed

No deployments
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