Skip to content

Commit 1d65367

Browse files
authored
Update src/trix/elements/trix_editor_element.js
1 parent 7046f28 commit 1d65367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trix/elements/trix_editor_element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default class TrixEditorElement extends HTMLElement {
242242
}
243243

244244
get type() {
245-
return "trix-editor"
245+
return this.localName
246246
}
247247

248248
// Controller delegate methods

0 commit comments

Comments
 (0)