Skip to content

Commit

Permalink
fix #231
Browse files Browse the repository at this point in the history
  • Loading branch information
hinesboy committed May 10, 2018
1 parent 2372f0d commit 15f398e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions LOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 更新日志
- **2.6.3** [issue #231](https://github.com/hinesboy/mavonEditor/pull/231)(18.5.10)
- **2.6.2** (18.5.9)
- 修改添加链接与添加图片的弹出框文字描述
- 添加todo list语法插件
Expand Down
2 changes: 1 addition & 1 deletion dist/mavon-editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mavon-editor",
"version": "2.6.2",
"version": "2.6.3",
"description": "Vue markdown editor",
"main": "dist/mavon-editor.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/components/md-toolbar-left.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<button :disabled="!editable" type="button" v-if="toolbars.italic" @click="$clicks('italic')"
class="op-icon fa fa-mavon-italic" aria-hidden="true"
:title="`${d_words.tl_italic} (ctrl+i)`"></button>
<div :class="{'selected': s_header_dropdown_open}" :disabled="!editable" type="button" v-if="toolbars.header" @mouseleave="$mouseleave_header_dropdown" @mouseenter="$mouseenter_header_dropdown"
<button :class="{'selected': s_header_dropdown_open}" :disabled="!editable" type="button" v-if="toolbars.header" @mouseleave="$mouseleave_header_dropdown" @mouseenter="$mouseenter_header_dropdown"
class="op-icon fa fa-mavon-header dropdown dropdown-wrapper" aria-hidden="true"
:title="`${d_words.tl_header} (ctrl+h)`">
<transition name="fade">
Expand All @@ -19,7 +19,7 @@
<div title="###### " class="dropdown-item" @click.stop="$click_header('header6')"><span>{{d_words.tl_header_six}}</span></div>
</div>
</transition>
</div>
</button>
<span v-if="toolbars.header || toolbars.italic || toolbars.bold" class="op-icon-divider"></span>
<button :disabled="!editable" type="button" v-if="toolbars.underline" @click="$clicks('underline')"
class="op-icon fa fa-mavon-underline"
Expand Down Expand Up @@ -62,7 +62,7 @@
<button :disabled="!editable" type="button" v-if="toolbars.link" @click.stop="$toggle_imgLinkAdd('link')"
class="op-icon fa fa-mavon-link" aria-hidden="true"
:title="`${d_words.tl_link} (ctrl+l)`"></button>
<div :disabled="!editable" :class="{'selected': s_img_dropdown_open}" type="button" v-if="toolbars.imagelink" @mouseleave="$mouseleave_img_dropdown" @mouseenter="$mouseenter_img_dropdown"
<button :disabled="!editable" :class="{'selected': s_img_dropdown_open}" type="button" v-if="toolbars.imagelink" @mouseleave="$mouseleave_img_dropdown" @mouseenter="$mouseenter_img_dropdown"
class="op-icon fa fa-mavon-picture-o dropdown dropdown-wrapper"
aria-hidden="true">
<transition name="fade">
Expand All @@ -82,7 +82,7 @@
</div>
</div>
</transition>
</div>
</button>
<button :disabled="!editable" type="button" v-if="toolbars.code" @click="$clicks('code')"
class="op-icon fa fa-mavon-code" aria-hidden="true"
:title="`${d_words.tl_code} (ctrl+alt+c)`"></button>
Expand Down

0 comments on commit 15f398e

Please sign in to comment.