-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define
TrixToolbarElement.editorElements
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.
- Loading branch information
1 parent
98f7d67
commit d34cf52
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters