Roo/bootstrap/form/HtmlEditorToolbar/Standard.js
authorAlan <alan@roojs.com>
Thu, 16 Feb 2023 08:51:07 +0000 (16:51 +0800)
committerAlan <alan@roojs.com>
Thu, 16 Feb 2023 08:51:07 +0000 (16:51 +0800)
Roo/bootstrap/form/HtmlEditorToolbar/Standard.js

index 2ac8204..527d46e 100644 (file)
@@ -163,7 +163,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
                         return;
                     }
                     if(newurl && newurl .match(/http(s):\/\/.+/)) {
-                        this.editorcore.relayCmd('createlink', newurl );
+                        this.editorcore.relayCmd('createlink', newurl);
                     }
                 }
             });
@@ -285,7 +285,7 @@ Roo.extend(Roo.bootstrap.form.HtmlEditorToolbar.Standard, Roo.bootstrap.nav.Simp
             if (block) {
                 db.className = (
                         db.classList.length > 0  ? db.className + ' ' : ''
-                    )  + 'roo-ed-selection';
+                    )  + ' roo-ed-selection';
                 sel = this.selectedNode = db;
             }
         }