From c2af624988b5467578e6e591d11ad6c4820d16f9 Mon Sep 17 00:00:00 2001 From: peak Date: Mon, 17 Oct 2016 09:57:16 +0800 Subject: [PATCH] v0.5.1 --- dist/vue-html5-editor.js | 29 +++++++++++++++++------------ package.json | 2 +- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/dist/vue-html5-editor.js b/dist/vue-html5-editor.js index 8534171..ade533c 100644 --- a/dist/vue-html5-editor.js +++ b/dist/vue-html5-editor.js @@ -1,5 +1,5 @@ /*! - * Vue-html5-editor 0.5.0 + * Vue-html5-editor 0.5.1 * https://github.com/PeakTai/vue-html5-editor */ (function webpackUniversalModuleDefinition(root, factory) { @@ -200,7 +200,7 @@ return /******/ (function(modules) { // webpackBootstrap if (module.dashboard) { //$options.module module.dashboard.module = module; - components[module.name] = module.dashboard; + components['dashboard-' + module.name] = module.dashboard; } if (options.icons && options.icons[module.name]) { module.icon = options.icons[module.name]; @@ -1067,10 +1067,12 @@ return /******/ (function(modules) { // webpackBootstrap //
//
//
    - //
  • - // - //
  • + // //
//
//
@@ -1215,7 +1217,7 @@ return /******/ (function(modules) { // webpackBootstrap return; } if (module.hasDashboard) { - this.toggleDashboard(module.name); + this.toggleDashboard('dashboard-' + module.name); } } }, @@ -1262,7 +1264,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 42 */ /***/ function(module, exports) { - module.exports = "\n
\n
\n
    \n
  • \n \n
  • \n
\n
\n
\n
\n
\n
\n
\n
\n"; + module.exports = "\n
\n
\n
    \n \n
\n
\n
\n
\n
\n
\n
\n
\n"; /***/ }, /* 43 */ @@ -2162,7 +2164,8 @@ return /******/ (function(modules) { // webpackBootstrap var file = this.$els.file.files[0]; if (file.size > config.size_limit) { - alert("文件过大"); + var prompt = component.$parent.locale["exceed size limit"]; + alert(prompt); return; } component.$els.file.value = null; @@ -4062,7 +4065,7 @@ return /******/ (function(modules) { // webpackBootstrap exports.default = { data: function data() { return { - version: ("0.5.0") + version: ("0.5.1") }; } }; @@ -4126,7 +4129,8 @@ return /******/ (function(modules) { // webpackBootstrap "reset": "重置", "hr": "分隔线", "undo": "撤消", - "line height": "行高" + "line height": "行高", + "exceed size limit": "超出大小限制" }; /***/ }, @@ -4181,7 +4185,8 @@ return /******/ (function(modules) { // webpackBootstrap "reset": "reset", "hr": "horizontal rule", "undo": "undo", - "line height": "line height" + "line height": "line height", + "exceed size limit": "exceed size limit" }; /***/ }, diff --git a/package.json b/package.json index 9bfcd63..d161e75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-html5-editor", - "version": "0.5.0", + "version": "0.5.1", "description": "A WYSIWYG text editor base on html5 and vue", "repository": { "type": "git",