From 4e17878e0ef880117614690d87855d3b16b1ea9b Mon Sep 17 00:00:00 2001 From: leon Date: Wed, 29 Mar 2023 12:52:02 +0800 Subject: [PATCH] Roo/bootstrap/form/HtmlEditorToolbar/Standard.js --- Roo/bootstrap/form/HtmlEditorToolbar/Standard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js b/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js index 3b07e5bf21..1ec1fc69d5 100644 --- a/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js +++ b/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js @@ -319,14 +319,13 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp } if (url != '') { this.selectedNode.setAttribute('href', newurl); + this.editor.syncValue(); return; } if(newurl && newurl .match(/http(s):\/\/.+/)) { this.editorcore.relayCmd('createlink', newurl); } this.editorcore.focus(); - Roo.log("SYNC VALUE"); - this.editor.syncValue(); }, cls : 'pub-error' }); -- 2.39.2