projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7879f03
)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
author
Alan
<alan@roojs.com>
Thu, 16 Feb 2023 09:01:59 +0000
(17:01 +0800)
committer
Alan
<alan@roojs.com>
Thu, 16 Feb 2023 09:01:59 +0000
(17:01 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
b/Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
index
bcecd6e
..
5736dba
100644
(file)
--- a/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
+++ b/
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
@@
-140,7
+140,9
@@
Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
btn('align-left', 'justifyleft',true);
btn('align-center', 'justifycenter',true);
btn('align-right' , 'justifyright',true);
- btn('link', false, true, function(btn) {
+ btn('link', false, true, this.onLinkClick);
+
+ function(btn) {
var url = this.selectedNode && this.selectedNode.tagName.toUpperCase() == 'A' ?
this.selectedNode.getAttribute('href') : '';