Enabled markdown in description field.

This commit is contained in:
Jan Böhmer 2019-11-10 19:43:55 +01:00
parent f5c2a7b728
commit af214831da
3 changed files with 52 additions and 1 deletions

View file

@ -23,6 +23,7 @@ import {ajaxUI} from "./ajax_ui";
import "bootbox";
import "marked";
import * as marked from "marked";
import {parse} from "marked";
/************************************
*
@ -438,6 +439,7 @@ $(document).on("ajaxUI:start", function () {
parseMarkdown();
$(document).on("ajaxUI:reload", parseMarkdown);
$(document).on("ajaxUI:dt_loaded", parseMarkdown);
});
$(document).on("ajaxUI:start ajaxUI:reload attachment:create", function() {