- Markdown supported in column description.
- Project > Edit Board and Project Summary pages now show description as tooltip. - Project > Edit Board shows textarea with markdown preview. Edit column also shows markdown preview. - Fixed bug while adding a new column inserts description as column limit.
This commit is contained in:
committed by
Frederic Guillot
parent
6fbcbfb001
commit
77a307e4ff
@@ -187,6 +187,13 @@ var Kanboard = (function() {
|
||||
Mousetrap.bind("ctrl+enter", function() {
|
||||
$("form").submit();
|
||||
});
|
||||
|
||||
// Tooltip for column description
|
||||
$(".column-tooltip").tooltip({
|
||||
content: function(e) {
|
||||
return '<div class="markdown">'+$(this).attr("title")+'</div>';
|
||||
}
|
||||
});
|
||||
|
||||
$.datepicker.setDefaults($.datepicker.regional[$("body").data("js-lang")]);
|
||||
|
||||
|
||||
@@ -50,13 +50,6 @@ Kanboard.Board = (function() {
|
||||
// Description popover
|
||||
$(".task-description-popover").click(on_popover);
|
||||
|
||||
// Tooltip for column description
|
||||
$(".column-tooltip").tooltip({
|
||||
content: function(e) {
|
||||
return $(this).attr("title");
|
||||
}
|
||||
});
|
||||
|
||||
// Tooltips for tasks
|
||||
$(".task-board-tooltip").tooltip({
|
||||
track: false,
|
||||
@@ -279,6 +272,7 @@ Kanboard.Board = (function() {
|
||||
filter_load_events();
|
||||
keyboard_shortcuts();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user