* bug #20223, fix for showing duplicated link dialog after access context menu on link.

This commit is contained in:
Hao Sun
2022-04-19 13:58:37 +08:00
parent 28222990e4
commit 804d110078
2 changed files with 19 additions and 3 deletions
+10
View File
@@ -1,3 +1,10 @@
/*!
* ZUI: Zentao Kindeditor - v1.10.0 - 2022-04-19
* http://openzui.com
* GitHub: https://github.com/easysoft/zui.git
* Copyright (c) 2022 cnezsoft.com; Licensed MIT
*/
/******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2013 kindsoft.net
@@ -7997,10 +8004,13 @@ KindEditor.plugin('lineheight', function(K) {
*******************************************************************************/
KindEditor.plugin('link', function(K) {
console.trace('plugin link');
var self = this,
name = 'link';
if (self.plugin.link) return;
self.plugin.link = {
edit: function() {
console.trace('edit');
var lang = self.lang(name + '.'),
html = '<div style="padding:20px;">' +
//url
File diff suppressed because one or more lines are too long