File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,11 +41,13 @@ jobs:
4141 path : apps/viewer
4242
4343 - name : Register assistant Git reference
44+ if : matrix.server-versions == 'main'
4445 run : |
4546 assistant_app_ref="$(if [ "${{ matrix.server-versions }}" = "stable30" ]; then echo -n "main"; else echo -n "${{ matrix.server-versions }}"; fi)"
4647 echo "assistant_app_ref=$assistant_app_ref" >> $GITHUB_ENV
4748
4849 - name : Checkout assistant
50+ if : matrix.server-versions == 'main'
4951 uses : actions/checkout@v4.1.1
5052 with :
5153 repository : nextcloud/assistant
8183 TESTING=true npm run build --if-present
8284
8385 - name : Install node dependencies & build assistant app
86+ if : matrix.server-versions == 'main'
8487 working-directory : apps/assistant
8588 run : |
8689 composer install --no-dev
Original file line number Diff line number Diff line change 1212
1313<script >
1414import { Editor } from ' @tiptap/core'
15+ /* eslint-disable import/no-named-as-default */
1516import History from ' @tiptap/extension-history'
1617import MainContainer from ' ./MainContainer.vue'
1718import Wrapper from ' ./Wrapper.vue'
Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ class TextEditorEmbed {
9191 return this
9292 }
9393
94+ getHTML ( ) {
95+ const editor = this . #getEditorComponent( ) ?. editor
96+ return editor ?. getHTML ( )
97+ }
98+
9499 setSearchQuery ( query , matchAll ) {
95100 const editor = this . #getEditorComponent( ) ?. $editor
96101 editor . commands . setSearchQuery ( query , matchAll )
You can’t perform that action at this time.
0 commit comments