Disable WIP markdown editor toolbar option

This commit is contained in:
rubenwardy 2022-01-21 13:59:13 +00:00
parent f457f7f5d7
commit e0421c1e57

@ -46,20 +46,20 @@ $("textarea.markdown").each(function() {
"fullscreen", "fullscreen",
"|", "|",
"guide", "guide",
{ // {
name: "rules", // name: "rules",
className: "fa fa-book", // className: "fa fa-book",
title: "others buttons", // title: "others buttons",
children: [ // children: [
{ // {
name: "rules", // name: "rules",
action: urlInserter("/policy_and_guidance/#2-accepted-content"), // action: urlInserter("/policy_and_guidance/#2-accepted-content"),
className: "fa fa-star", // className: "fa fa-star",
title: "2. Accepted content", // title: "2. Accepted content",
text: "2. Accepted content", // text: "2. Accepted content",
}, // },
] // ]
}, // },
], ],
previewRender: (plainText, preview) => { previewRender: (plainText, preview) => {
if (timeout_id) { if (timeout_id) {