projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3f405c5
)
Roo/bootstrap/Markdown.js
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 08:36:31 +0000
(16:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Nov 2020 08:36:31 +0000
(16:36 +0800)
Roo/bootstrap/Markdown.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Markdown.js
b/Roo/bootstrap/Markdown.js
index
d1f23fd
..
513cdad
100644
(file)
--- a/
Roo/bootstrap/Markdown.js
+++ b/
Roo/bootstrap/Markdown.js
@@
-59,9
+59,8
@@
Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, {
},
updateMarkdown : function()
{
- this.markdownEl.dom.innerHTML = Roo.Markdown.toHtml(Roo.util.Format.htmlEncode(this.getValue()));
-
- }
+ this.markdownEl.dom.innerHTML = Roo.Markdown.toHtml(Roo.util.Format.htmlEncode(this.getValue()));
+ },
resizeTextArea: function () {
@@
-73,7
+72,7
@@
Roo.extend(Roo.bootstrap.Markdown, Roo.bootstrap.TextArea, {
{
Roo.bootstrap.TextArea.prototype.setValue(val);
if (!this.editing) {
-
+ this.updateMarkdown();
}
}