N°7655 - Handle highlightjs styles in fronts styles and force it to apply over inlined styles

This commit is contained in:
Stephen Abello
2024-07-24 11:21:05 +02:00
parent c5727d366f
commit 4680b6a497
10 changed files with 218 additions and 31 deletions

View File

@@ -155,7 +155,7 @@ const CombodoBackofficeToolbox = {
} else {
oCodeElements.each(function (iIdx, oElem) {
hljs.highlightBlock(oElem);
$(oElem).parent().addClass('ibo-hljs-container');
$(oElem).parent().addClass('common-hljs-container');
});
}
}
@@ -168,7 +168,7 @@ const CombodoBackofficeToolbox = {
} else {
oCodeElements.each(function (iIdx, oElem) {
hljs.highlightBlock(oElem);
$(oElem).parent().addClass('ibo-hljs-container');
$(oElem).parent().addClass('common-hljs-container');
});
}
}