Redmine 4.1.1

This commit is contained in:
Manuel Cillero 2020-11-22 21:20:06 +01:00
parent 33e7b881a5
commit 3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions

View file

@ -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',
@ -166,7 +175,7 @@ jsToolBar.prototype.elements.pre = {
type: 'button',
title: 'Preformatted text',
fn: {
wiki: function() { this.encloseLineSelection('~~~\n', '\n~~~') }
wiki: function() { this.encloseLineSelection('```\n', '\n```') }
}
}
@ -178,7 +187,7 @@ jsToolBar.prototype.elements.precode = {
wiki: function() {
var This = this;
this.precodeMenu(function(lang){
This.encloseLineSelection('~~~ ' + lang + '\n', '\n~~~\n');
This.encloseLineSelection('``` ' + lang + '\n', '\n```\n');
});
}
}