mirror of
https://github.com/wekan/wekan.git
synced 2026-02-23 16:34:06 +01:00
Fix Bug Member settings drops to the second line and overlaps when many boards are starred as favourites.
Thanks to xet7 ! Fixes #5943
This commit is contained in:
parent
27e9d3ce47
commit
46d46e313c
6 changed files with 101 additions and 12 deletions
|
|
@ -36,11 +36,21 @@ for(var i=0; i<urlschemes.length;i++){
|
|||
Markdown.linkify.add(urlschemes[i]+":",'http:');
|
||||
}
|
||||
|
||||
var emoji = require('markdown-it-emoji');
|
||||
Markdown.use(emoji);
|
||||
// Try to load emoji support, but don't fail if it's not available
|
||||
try {
|
||||
var emoji = require('markdown-it-emoji');
|
||||
Markdown.use(emoji);
|
||||
} catch (e) {
|
||||
console.warn('markdown-it-emoji not available, emoji rendering disabled:', e.message);
|
||||
}
|
||||
|
||||
var mathjax = require('markdown-it-mathjax3');
|
||||
Markdown.use(mathjax);
|
||||
// Try to load mathjax3, but don't fail if it's not available
|
||||
try {
|
||||
var mathjax = require('markdown-it-mathjax3');
|
||||
Markdown.use(mathjax);
|
||||
} catch (e) {
|
||||
console.warn('markdown-it-mathjax3 not available, math rendering disabled:', e.message);
|
||||
}
|
||||
|
||||
// Custom plugin to prevent SVG-based DoS attacks
|
||||
Markdown.use(function(md) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue