mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Merge pull request #913 from ErisDS/0.3.1-html-handling
Treat markdown as text in editor
This commit is contained in:
commit
18ca744c98
@ -281,7 +281,7 @@
|
|||||||
this.addSubview(new PublishBar({el: "#publish-bar", model: this.model})).render();
|
this.addSubview(new PublishBar({el: "#publish-bar", model: this.model})).render();
|
||||||
|
|
||||||
this.$('#entry-title').val(this.model.get('title')).focus();
|
this.$('#entry-title').val(this.model.get('title')).focus();
|
||||||
this.$('#entry-markdown').html(this.model.get('markdown'));
|
this.$('#entry-markdown').text(this.model.get('markdown'));
|
||||||
|
|
||||||
this.initMarkdown();
|
this.initMarkdown();
|
||||||
this.renderPreview();
|
this.renderPreview();
|
||||||
|
Loading…
Reference in New Issue
Block a user