From 16ff1e10747dbd064fa34220017b60dee51f02e8 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Wed, 7 Aug 2019 18:25:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8table=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/common/lib/ueditor/ueditor.all.js | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/public/static/common/lib/ueditor/ueditor.all.js b/public/static/common/lib/ueditor/ueditor.all.js index a865d446f..9c480bcaa 100755 --- a/public/static/common/lib/ueditor/ueditor.all.js +++ b/public/static/common/lib/ueditor/ueditor.all.js @@ -18970,7 +18970,7 @@ UE.plugins['video'] = function (){ for (var r = 0; r < rowsNum; r++) { html.push(''); for (var c = 0; c < colsNum; c++) { - html.push('' + (browser.ie && browser.version < 11 ? domUtils.fillChar : '
') + '') + html.push('' + (browser.ie && browser.version < 11 ? domUtils.fillChar : '
') + '') } html.push('') } @@ -20269,21 +20269,21 @@ UE.plugins['table'] = function () { me.addListener('blur', function () { tableCopyList = null; }); - var timer; - me.addListener('keydown', function () { - clearTimeout(timer); - timer = setTimeout(function () { - var rng = me.selection.getRange(), - cell = domUtils.findParentByTagName(rng.startContainer, ['th', 'td'], true); - if (cell) { - var table = cell.parentNode.parentNode.parentNode; - if (table.offsetWidth > table.getAttribute("width")) { - cell.style.wordBreak = "break-all"; - } - } + // var timer; + // me.addListener('keydown', function () { + // clearTimeout(timer); + // timer = setTimeout(function () { + // var rng = me.selection.getRange(), + // cell = domUtils.findParentByTagName(rng.startContainer, ['th', 'td'], true); + // if (cell) { + // var table = cell.parentNode.parentNode.parentNode; + // if (table.offsetWidth > table.getAttribute("width")) { + // cell.style.wordBreak = "break-all"; + // } + // } - }, 100); - }); + // }, 100); + // }); me.addListener("selectionchange", function () { toggleDraggableState(me, false, "", null); });