mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Adding a link to markdown help
--HG-- branch : 1.x
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
(function () {
|
||||
var marker = '<!-- markdown -->';
|
||||
var converter = Markdown.getSanitizingConverter();
|
||||
var editor = new Markdown.Editor(converter, "", function () { alert("Do you need help?"); });
|
||||
var editor = new Markdown.Editor(converter, "", {
|
||||
handler: function () { window.open("http://daringfireball.net/projects/markdown/syntax"); }
|
||||
});
|
||||
|
||||
editor.hooks.set("insertImageDialog", function (callback) {
|
||||
// see if there's an image selected that they intend on editing
|
||||
|
Reference in New Issue
Block a user