hoeditor-web 3.0.8 → 3.0.9
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/lib/hoeditor.css +13043 -2
- package/lib/hoeditor.umd.js +10 -10
- package/lib/hoeditor.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -226891,7 +226891,7 @@ var SignNode = __webpack_require__(24701);
|
|
|
226891
226891
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
226892
226892
|
var ParagraphNode = __webpack_require__(67945);
|
|
226893
226893
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
226894
|
-
/* harmony default export */ var version = ('3.0.
|
|
226894
|
+
/* harmony default export */ var version = ('3.0.9');
|
|
226895
226895
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
226896
226896
|
var PoperTipText = __webpack_require__(15845);
|
|
226897
226897
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -252224,10 +252224,10 @@ var popper = __webpack_require__(95551);
|
|
|
252224
252224
|
}).then(function (permissionStatus) {
|
|
252225
252225
|
// permissionStatus.state 的值是 'granted'、'denied'、'prompt':
|
|
252226
252226
|
if (permissionStatus.state === 'denied') {
|
|
252227
|
-
var
|
|
252228
|
-
(
|
|
252227
|
+
var _window$top, _window$top$chrome, _window$top$chrome$we, _chrome, _chrome$webview;
|
|
252228
|
+
(_window$top = window.top) === null || _window$top === void 0 ? void 0 : (_window$top$chrome = _window$top.chrome) === null || _window$top$chrome === void 0 ? void 0 : (_window$top$chrome$we = _window$top$chrome.webview) === null || _window$top$chrome$we === void 0 ? void 0 : _window$top$chrome$we.addEventListener('message', _this.getMessage);
|
|
252229
252229
|
_this.postMessage();
|
|
252230
|
-
if ((
|
|
252230
|
+
if ((_chrome = chrome) !== null && _chrome !== void 0 && (_chrome$webview = _chrome.webview) !== null && _chrome$webview !== void 0 && _chrome$webview.postMessage) {
|
|
252231
252231
|
_this.isWebview = true;
|
|
252232
252232
|
} else {
|
|
252233
252233
|
console.warn('当前浏览器不支持,请用 ctrl+ v 粘贴');
|
|
@@ -252262,8 +252262,8 @@ var popper = __webpack_require__(95551);
|
|
|
252262
252262
|
},
|
|
252263
252263
|
methods: {
|
|
252264
252264
|
postMessage: function postMessage() {
|
|
252265
|
-
var
|
|
252266
|
-
(
|
|
252265
|
+
var _window$top2, _window$top2$chrome, _window$top2$chrome$w;
|
|
252266
|
+
(_window$top2 = window.top) === null || _window$top2 === void 0 ? void 0 : (_window$top2$chrome = _window$top2.chrome) === null || _window$top2$chrome === void 0 ? void 0 : (_window$top2$chrome$w = _window$top2$chrome.webview) === null || _window$top2$chrome$w === void 0 ? void 0 : _window$top2$chrome$w.postMessage({
|
|
252267
252267
|
exec: 'clipboard',
|
|
252268
252268
|
data: ''
|
|
252269
252269
|
});
|
|
@@ -252347,11 +252347,11 @@ var popper = __webpack_require__(95551);
|
|
|
252347
252347
|
this.handleClose();
|
|
252348
252348
|
},
|
|
252349
252349
|
handleClose: function handleClose() {
|
|
252350
|
-
var _window,
|
|
252351
|
-
_window$chrome,
|
|
252352
|
-
_window$chrome$
|
|
252350
|
+
var _window$top3,
|
|
252351
|
+
_window$top3$chrome,
|
|
252352
|
+
_window$top3$chrome$w,
|
|
252353
252353
|
_this2 = this;
|
|
252354
|
-
(_window = window) === null || _window === void 0 ? void 0 : (_window$chrome = _window.chrome) === null || _window$chrome === void 0 ? void 0 : (_window$chrome$
|
|
252354
|
+
(_window$top3 = window.top) === null || _window$top3 === void 0 ? void 0 : (_window$top3$chrome = _window$top3.chrome) === null || _window$top3$chrome === void 0 ? void 0 : (_window$top3$chrome$w = _window$top3$chrome.webview) === null || _window$top3$chrome$w === void 0 ? void 0 : _window$top3$chrome$w.removeEventListener('message', this.getMessage);
|
|
252355
252355
|
this.$nextTick(function () {
|
|
252356
252356
|
return _this2.$emit('closeRight');
|
|
252357
252357
|
});
|