added editor button for scalable number
This commit is contained in:
parent
f3e42f13b1
commit
8e4e785179
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user