mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-12 16:14:58 +08:00
Merge pull request #7788 from aignatov-bio/ai-sci-10968-fix-insert-content-toolbar
Hide action toolbar on collapsed result [SCI-10968]
This commit is contained in:
commit
3a6888b276
1 changed files with 10 additions and 10 deletions
|
@ -130,17 +130,17 @@
|
||||||
@attachments:order="changeAttachmentsOrder"
|
@attachments:order="changeAttachmentsOrder"
|
||||||
@attachments:viewMode="changeAttachmentsViewMode"
|
@attachments:viewMode="changeAttachmentsViewMode"
|
||||||
@attachment:viewMode="updateAttachmentViewMode"/>
|
@attachment:viewMode="updateAttachmentViewMode"/>
|
||||||
|
<ContentToolbar
|
||||||
|
v-if="orderedElements.length > 2"
|
||||||
|
:insertMenu="insertMenu"
|
||||||
|
@create:table="(...args) => this.createElement('table', ...args)"
|
||||||
|
@create:text="createElement('text')"
|
||||||
|
@create:file="openLoadFromComputer"
|
||||||
|
@create:wopi_file="openWopiFileModal"
|
||||||
|
@create:ove_file="openOVEditor"
|
||||||
|
@create:marvinjs_file="openMarvinJsModal($refs.marvinJsButton)"
|
||||||
|
></ContentToolbar>
|
||||||
</div>
|
</div>
|
||||||
<ContentToolbar
|
|
||||||
v-if="orderedElements.length > 2"
|
|
||||||
:insertMenu="insertMenu"
|
|
||||||
@create:table="(...args) => this.createElement('table', ...args)"
|
|
||||||
@create:text="createElement('text')"
|
|
||||||
@create:file="openLoadFromComputer"
|
|
||||||
@create:wopi_file="openWopiFileModal"
|
|
||||||
@create:ove_file="openOVEditor"
|
|
||||||
@create:marvinjs_file="openMarvinJsModal($refs.marvinJsButton)"
|
|
||||||
></ContentToolbar>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Reference in a new issue