Roo/bootstrap/Markdown.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 Dec 2020 07:29:26 +0000 (15:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Dec 2020 07:29:26 +0000 (15:29 +0800)
Roo/bootstrap/Markdown.js

index 5537350..9fe8054 100644 (file)
@@ -77,6 +77,13 @@ Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea,  {
             this.updateMarkdown();
         }
         
+    },
+    focus : function()
+    {
+        if (!this.editing) {
+            this.toggleTextEdit();
+        }
+        
     }