mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Enabled markdown in description field.
This commit is contained in:
parent
f5c2a7b728
commit
af214831da
3 changed files with 52 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue