Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ class TextEditorEmbed {
return this
}

getHTML() {
const editor = this.#getEditorComponent()?.editor
return editor?.getHTML()
}

setSearchQuery(query, matchAll) {
const editor = this.#getEditorComponent()?.editor
editor?.commands.setSearchQuery(query, matchAll)
Expand Down
Loading