From 327a27a97fce13902373c1c182a3ce0418beb4f1 Mon Sep 17 00:00:00 2001 From: Liane Hampe Date: Thu, 16 Feb 2023 17:52:16 +0100 Subject: [PATCH] Adds formatting helper to all editors The formatting_helper_patch is included in textile wiki formatting helper but not in markdown and commonmark formatting helper. Therefore, The dms toobar icon is missing. This patch adds the formatting_helper_patch to all missing formatters. --- lib/redmine_dmsf/patches/formatting_helper_patch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redmine_dmsf/patches/formatting_helper_patch.rb b/lib/redmine_dmsf/patches/formatting_helper_patch.rb index b46c5562..73b5bde1 100644 --- a/lib/redmine_dmsf/patches/formatting_helper_patch.rb +++ b/lib/redmine_dmsf/patches/formatting_helper_patch.rb @@ -59,3 +59,5 @@ end # Apply the patch Redmine::WikiFormatting::Textile::Helper.prepend RedmineDmsf::Patches::FormattingHelperPatch +Redmine::WikiFormatting::Markdown::Helper.prepend RedmineDmsf::Patches::FormattingHelperPatch +Redmine::WikiFormatting::CommonMark::Helper.prepend RedmineDmsf::Patches::FormattingHelperPatch