From: leon Date: Wed, 29 Mar 2023 04:52:02 +0000 (+0800) Subject: Roo/bootstrap/form/HtmlEditorToolbar/Standard.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=4e17878e0ef880117614690d87855d3b16b1ea9b Roo/bootstrap/form/HtmlEditorToolbar/Standard.js --- 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' });