Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/workflows/cypress-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ jobs:
path: apps/viewer

- name: Register assistant Git reference
if: matrix.server-versions == 'main'
run: |
assistant_app_ref="$(if [ "${{ matrix.server-versions }}" = "stable30" ]; then echo -n "main"; else echo -n "${{ matrix.server-versions }}"; fi)"
echo "assistant_app_ref=$assistant_app_ref" >> $GITHUB_ENV

- name: Checkout assistant
if: matrix.server-versions == 'main'
uses: actions/[email protected]
with:
repository: nextcloud/assistant
Expand Down Expand Up @@ -81,6 +83,7 @@ jobs:
TESTING=true npm run build --if-present

- name: Install node dependencies & build assistant app
if: matrix.server-versions == 'main'
working-directory: apps/assistant
run: |
composer install --no-dev
Expand Down
1 change: 1 addition & 0 deletions src/components/Editor/PlainTableContentEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<script>
import { Editor } from '@tiptap/core'
/* eslint-disable import/no-named-as-default */
import History from '@tiptap/extension-history'
import MainContainer from './MainContainer.vue'
import Wrapper from './Wrapper.vue'
Expand Down
5 changes: 5 additions & 0 deletions src/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,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