mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°7494 - Update highlight.js to v11.9.0
Mind that this lib is not maintained through NPM yet as its sources alone don't allow to be used in CKEditor out of the box, it needs extra steps to be built/used. And as we are already struggling with the CKEditor integration, we rather make baby steps.
This commit is contained in:
@@ -22,11 +22,10 @@ class RichText extends UIBlock
|
||||
public const DEFAULT_JS_TEMPLATE_REL_PATH = 'base/components/input/richtext/layout';
|
||||
public const DEFAULT_JS_FILES_REL_PATH = [
|
||||
'js/ckeditor/build/ckeditor.js',
|
||||
'js/highlight/highlight.js',
|
||||
'js/highlight/highlight.min.js',
|
||||
];
|
||||
public const DEFAULT_CSS_FILES_REL_PATH = [
|
||||
'js/highlight/styles/obsidian.css',
|
||||
'css/ckeditor/contents.css',
|
||||
'js/highlight/styles/obsidian.min.css',
|
||||
];
|
||||
|
||||
/** @var string|null */
|
||||
|
||||
Reference in New Issue
Block a user