added editor button for scalable number

This commit is contained in:
vabene1111 2024-02-10 09:26:29 +01:00
parent f3e42f13b1
commit 8e4e785179

View File

@ -645,7 +645,18 @@
<mavon-editor v-model="step.instruction" :autofocus="false" <mavon-editor v-model="step.instruction" :autofocus="false"
style="z-index: auto" :id="'id_instruction_' + step.id" style="z-index: auto" :id="'id_instruction_' + step.id"
:language="'en'" :language="'en'"
:toolbars="md_editor_toolbars" :defaultOpen="'edit'"/> :toolbars="md_editor_toolbars" :defaultOpen="'edit'">
<template #left-toolbar-after>
<span class="op-icon-divider"></span>
<button
type="button"
@click="step.instruction+= ' {{ scale(100) }}'"
class="op-icon fas fa-times"
aria-hidden="true"
title="Scalable Number"
></button>
</template>
</mavon-editor>
<!-- TODO markdown DOCS link and markdown editor --> <!-- TODO markdown DOCS link and markdown editor -->
</div> </div>
@ -832,7 +843,7 @@ export default {
header: true, header: true,
underline: true, underline: true,
strikethrough: true, strikethrough: true,
mark: true, mark: false,
superscript: true, superscript: true,
subscript: true, subscript: true,
quote: true, quote: true,