vue-editify 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/examples/App.vue +6 -3
- package/lib/editify.es.js +166 -58
- package/lib/editify.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/Editify.vue +93 -15
- package/src/components/bussiness/Menu.vue +77 -12
- package/src/core/index.js +12 -2
- package/src/icon/iconfont.css +4 -0
- package/src/icon/iconfont.ttf +0 -0
- package/src/icon/iconfont.woff +0 -0
- package/src/index.js +1 -1
- package/src/locale/en_US.js +2 -1
- package/src/locale/zh_CN.js +2 -1
package/src/core/index.js
CHANGED
@@ -74,7 +74,7 @@ export const editorProps = {
|
|
74
74
|
},
|
75
75
|
//编辑内容高度
|
76
76
|
height: {
|
77
|
-
type: String,
|
77
|
+
type: [String, Boolean],
|
78
78
|
default: '600px'
|
79
79
|
},
|
80
80
|
//是否自适应高度
|
@@ -934,7 +934,8 @@ export const getMenuConfig = function (editTrans, editLocale) {
|
|
934
934
|
video: 24,
|
935
935
|
table: 25,
|
936
936
|
codeBlock: 26,
|
937
|
-
sourceView: 27
|
937
|
+
sourceView: 27,
|
938
|
+
fullScreen: 28
|
938
939
|
},
|
939
940
|
//撤销按钮配置
|
940
941
|
undo: {
|
@@ -1264,6 +1265,15 @@ export const getMenuConfig = function (editTrans, editLocale) {
|
|
1264
1265
|
//右侧边框是否显示
|
1265
1266
|
rightBorder: false
|
1266
1267
|
},
|
1268
|
+
//全屏
|
1269
|
+
fullScreen: {
|
1270
|
+
//是否显示此工具
|
1271
|
+
show: false,
|
1272
|
+
//左侧边框是否显示
|
1273
|
+
leftBorder: false,
|
1274
|
+
//右侧边框是否显示
|
1275
|
+
rightBorder: false
|
1276
|
+
},
|
1267
1277
|
//拓展菜单,每个key表示拓展菜单的唯一名称,value是对象,包含type/title/rightBorder/leftBorder/disabled/active/width/maxHeight/options/value/hideScroll/onLayerShow/onLayerShown/onLayerHidden/onOperate/default/layer/option属性
|
1268
1278
|
extends: {}
|
1269
1279
|
}
|
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
package/src/locale/en_US.js
CHANGED