Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define TrixToolbarElement.editorElements property #1127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 30, 2024

  1. Define TrixToolbarElement.editorElements property

    Define properties for accessing all `<trix-editor>` elements that
    declare a relationship with a `<trix-toolbar>` element through a
    `[toolbar]`-`[id]` attribute relationship.
    
    Since multiple `<trix-editor>` elements can reference a `<trix-toolbar>`
    element by name, this commit introduces both an `.editorElements` and
    `.editorElement` properties.
    
    The `.editorElement` property returns the first item in
    `.editorElements`, if there are any.
    seanpdoyle committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    6a86202 View commit details
    Browse the repository at this point in the history