vue-editify 0.0.40 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/editify.es.js +154 -94
- package/lib/editify.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/Editify.vue +104 -70
- package/src/components/bussiness/Toolbar.vue +9 -1
- package/src/icon/iconfont.css +8 -0
- package/src/icon/iconfont.ttf +0 -0
- package/src/icon/iconfont.woff +0 -0
- package/src/index.js +2 -2
- package/src/locale/en_US.js +2 -1
- package/src/locale/zh_CN.js +2 -1
@@ -23,6 +23,10 @@
|
|
23
23
|
<Button @operate="setWidth('50%')" name="set50Width" :title="$editTrans('width50')" :tooltip="config.tooltip" :color="$parent.color"> 50% </Button>
|
24
24
|
<!-- 设置宽度100% -->
|
25
25
|
<Button rightBorder @operate="setWidth('100%')" name="set100Width" :title="$editTrans('width100')" :tooltip="config.tooltip" :color="$parent.color"> 100% </Button>
|
26
|
+
<!-- 设置宽度auto -->
|
27
|
+
<Button @operate="setWidth('auto')" name="setAutoWidth" :title="$editTrans('widthAuto')" :tooltip="config.tooltip" :color="$parent.color">
|
28
|
+
<Icon value="auto-width"></Icon>
|
29
|
+
</Button>
|
26
30
|
<!-- 删除图片 -->
|
27
31
|
<Button @operate="$parent.deleteByParsedom('img')" name="deleteImage" :title="$editTrans('deleteImage')" :tooltip="config.tooltip" :color="$parent.color">
|
28
32
|
<Icon value="delete"></Icon>
|
@@ -35,7 +39,11 @@
|
|
35
39
|
<!-- 设置宽度50% -->
|
36
40
|
<Button @operate="setWidth('50%')" name="set50Width" :title="$editTrans('width50')" :tooltip="config.tooltip" :color="$parent.color"> 50% </Button>
|
37
41
|
<!-- 设置宽度100% -->
|
38
|
-
<Button
|
42
|
+
<Button @operate="setWidth('100%')" name="set100Width" :title="$editTrans('width100')" :tooltip="config.tooltip" :color="$parent.color"> 100% </Button>
|
43
|
+
<!-- 设置宽度auto -->
|
44
|
+
<Button rightBorder @operate="setWidth('auto')" name="setAutoWidth" :title="$editTrans('widthAuto')" :tooltip="config.tooltip" :color="$parent.color">
|
45
|
+
<Icon value="auto-width"></Icon>
|
46
|
+
</Button>
|
39
47
|
<!-- 自动播放 -->
|
40
48
|
<Button @operate="setVideo" name="autoplay" :title="videoConfig.autoplay ? $editTrans('disabledAutoplay') : $editTrans('autoplay')" :tooltip="config.tooltip" :color="$parent.color">
|
41
49
|
<Icon :value="videoConfig.autoplay ? 'autoplay' : 'stop'"></Icon>
|
package/src/icon/iconfont.css
CHANGED
package/src/icon/iconfont.ttf
CHANGED
Binary file
|
package/src/icon/iconfont.woff
CHANGED
Binary file
|
package/src/index.js
CHANGED
@@ -7,7 +7,7 @@ import './icon/iconfont.css'
|
|
7
7
|
//引入国际化
|
8
8
|
import i18n from './locale'
|
9
9
|
//版本号
|
10
|
-
const version = '0.0.
|
10
|
+
const version = '0.0.42'
|
11
11
|
//安装函数
|
12
12
|
const install = (app, props) => {
|
13
13
|
const locale = (props ? props.locale : 'zh_CN') || 'zh_CN'
|
@@ -21,4 +21,4 @@ const stdin_default = {
|
|
21
21
|
version
|
22
22
|
}
|
23
23
|
|
24
|
-
export { stdin_default as default, install, version, AlexElement }
|
24
|
+
export { stdin_default as default, install as editify, version, AlexElement }
|
package/src/locale/en_US.js
CHANGED