From e0421c1e571bf63b87bd2100f173840813e95874 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 21 Jan 2022 13:59:13 +0000 Subject: [PATCH] Disable WIP markdown editor toolbar option --- app/public/static/markdowntextarea.js | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/public/static/markdowntextarea.js b/app/public/static/markdowntextarea.js index 360a292..7936fef 100644 --- a/app/public/static/markdowntextarea.js +++ b/app/public/static/markdowntextarea.js @@ -46,20 +46,20 @@ $("textarea.markdown").each(function() { "fullscreen", "|", "guide", - { - name: "rules", - className: "fa fa-book", - title: "others buttons", - children: [ - { - name: "rules", - action: urlInserter("/policy_and_guidance/#2-accepted-content"), - className: "fa fa-star", - title: "2. Accepted content", - text: "2. Accepted content", - }, - ] - }, +// { +// name: "rules", +// className: "fa fa-book", +// title: "others buttons", +// children: [ +// { +// name: "rules", +// action: urlInserter("/policy_and_guidance/#2-accepted-content"), +// className: "fa fa-star", +// title: "2. Accepted content", +// text: "2. Accepted content", +// }, +// ] +// }, ], previewRender: (plainText, preview) => { if (timeout_id) {