Currently redmine_persist_wfmt overrides heads_for_wiki_formatter and does not invoke the original one. This implementation conflicts some plugins which override the same method. (e.g. https://github.com/wate/graphviz/)
This patch solves this conflict by making redmine_persist_wfmt invoke the original heads_for_wiki_formatter.
By this change, jstoolbar/textile.js or jstoolbar/markdown.js from Redmine is loaded by the original method, but buttons defined by these files are immediately overwritten by toolbar.js from redmine_persist_wfmt.
Currently redmine_persist_wfmt overrides
heads_for_wiki_formatter
and does not invoke the original one. This implementation conflicts some plugins which override the same method. (e.g. https://github.com/wate/graphviz/)This patch solves this conflict by making redmine_persist_wfmt invoke the original
heads_for_wiki_formatter
.By this change, jstoolbar/textile.js or jstoolbar/markdown.js from Redmine is loaded by the original method, but buttons defined by these files are immediately overwritten by toolbar.js from redmine_persist_wfmt.
ref. https://www.redmine.org/issues/31302