Skip to content

Commit f389fff

Browse files
committedMar 11, 2016
Merge branch 'kleroy-fix_set_content'
2 parents 0b0a679 + 3b8848d commit f389fff

3 files changed

+4
-4
lines changed
 

‎dist/css/bootstrap-markdown-editor.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/js/bootstrap-markdown-editor.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/bootstrap-markdown-editor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
},
205205
setContent: function(str) {
206206
var editor = ace.edit(this.find('.md-editor')[0]);
207-
editor.setValue(str);
207+
editor.setValue(str, 1);
208208
}
209209
};
210210

0 commit comments

Comments
 (0)