* fix UI error in kindeditor table dialog.
This commit is contained in:
@@ -9992,7 +9992,7 @@ KindEditor.plugin('wordpaste', function(K) {
|
||||
|
||||
/* ========================================================================
|
||||
* ZUI: Kindeditor plugin - zui
|
||||
* http://zui.sexy
|
||||
* http://openzui.com
|
||||
* ========================================================================
|
||||
* Copyright (c) 2019-2019 cnezsoft.com; Licensed MIT
|
||||
* ======================================================================== */
|
||||
@@ -10054,9 +10054,10 @@ KindEditor.plugin('zui', function(K) {
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/* ========================================================================
|
||||
* ZUI: Kindeditor plugin - placeholder
|
||||
* http://zui.sexy
|
||||
* http://openzui.com
|
||||
* ========================================================================
|
||||
* Copyright (c) 2019-2019 cnezsoft.com; Licensed MIT
|
||||
* ======================================================================== */
|
||||
@@ -10082,7 +10083,7 @@ KindEditor.EditorClass.prototype.setPlaceholder = function(placeholder, asHtml)
|
||||
};
|
||||
|
||||
KindEditor.EditorClass.prototype.getPlaceholder = function(asHtml) {
|
||||
return self.$placeholder && self.$placeholder[asHtml ? 'html' : 'text']();
|
||||
return this.$placeholder ? this.$placeholder[asHtml ? 'html' : 'text']() : '';
|
||||
};
|
||||
|
||||
KindEditor.plugin('placeholder', function(K) {
|
||||
@@ -10114,7 +10115,7 @@ KindEditor.plugin('placeholder', function(K) {
|
||||
|
||||
/* ========================================================================
|
||||
* ZUI: Kindeditor plugin - paste-image
|
||||
* http://zui.sexy
|
||||
* http://openzui.com
|
||||
* ========================================================================
|
||||
* Copyright (c) 2019-2019 cnezsoft.com; Licensed MIT
|
||||
* ======================================================================== */
|
||||
@@ -10433,7 +10434,7 @@ KindEditor.plugin('table', function (K) {
|
||||
};
|
||||
var $elements = [];
|
||||
var langName = $.clientLang ? $.clientLang() : ($.zui && $.zui.clientLang) ? $.zui.clientLang() : 'en';
|
||||
var lang = ($.zui && $.zui.getLangData) ? $.zui.getLangData('kindeditor.advanceTable', langName, allLangs) : $.extend({}, allLangs.en, self.lang('table.'), allLangs[langName]);
|
||||
var lang = ($.zui && $.zui.getLangData) ? $.extend({}, self.lang('table.'), $.zui.getLangData('kindeditor.advanceTable', langName, allLangs)) : $.extend({}, allLangs.en, self.lang('table.'), allLangs[langName]);
|
||||
var defaultTableBorderColor = self.options.tableBorderColor || '#ddd';
|
||||
|
||||
self.tableIdIndex = 0;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user