Tooltips for editor demo

pull/213/head
cagataycivici 2020-02-27 11:00:13 +03:00
parent ed053c5514
commit f9bd90102c
2 changed files with 6 additions and 6 deletions

View File

@ -15,9 +15,9 @@
<Editor v-model="value2" editorStyle="height: 320px">
<template slot="toolbar">
<span class="ql-formats">
<button class="ql-bold"></button>
<button class="ql-italic"></button>
<button class="ql-underline"></button>
<button class="ql-bold" v-tooltip.bottom="'Bold'"></button>
<button class="ql-italic" v-tooltip.bottom="'Italic'"></button>
<button class="ql-underline" v-tooltip.bottom="'Underline'"></button>
</span>
</template>
</Editor>

View File

@ -151,9 +151,9 @@ npm install quill --save
&lt;Editor v-model="value2" editorStyle="height: 320px"&gt;
&lt;template slot="toolbar"&gt;
&lt;span class="ql-formats"&gt;
&lt;button class="ql-bold"&gt;&lt;/button&gt;
&lt;button class="ql-italic"&gt;&lt;/button&gt;
&lt;button class="ql-underline"&gt;&lt;/button&gt;
&lt;button class="ql-bold" v-tooltip.bottom="'Bold'"&gt;&lt;/button&gt;
&lt;button class="ql-italic" v-tooltip.bottom="'Italic'"&gt;&lt;/button&gt;
&lt;button class="ql-underline" v-tooltip.bottom="'Underline'"&gt;&lt;/button&gt;
&lt;/span&gt;
&lt;/template&gt;
&lt;/Editor&gt;