diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 10:56:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 10:56:52 +0000 |
commit | 794a2a0180ed2d2801be4146ac59799747683b3d (patch) | |
tree | a1ff2422558cab4e349b65b5aa3eee21dba3e942 /public/javascripts | |
parent | baab521b8ba0d82fcbf0528d867651813ff34169 (diff) | |
download | redmine-794a2a0180ed2d2801be4146ac59799747683b3d.tar.gz redmine-794a2a0180ed2d2801be4146ac59799747683b3d.zip |
Enable and add underline button to the toolbar for Markdown formatting (#28169).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17385 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/jstoolbar/markdown.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/public/javascripts/jstoolbar/markdown.js b/public/javascripts/jstoolbar/markdown.js index 33a34a9c8..d087276d6 100644 --- a/public/javascripts/jstoolbar/markdown.js +++ b/public/javascripts/jstoolbar/markdown.js @@ -40,6 +40,15 @@ jsToolBar.prototype.elements.em = { } } +// ins +jsToolBar.prototype.elements.ins = { + type: 'button', + title: 'Underline', + fn: { + wiki: function() { this.singleTag('_') } + } +} + // del jsToolBar.prototype.elements.del = { type: 'button', |