mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 14:28:53 +02:00
N°9128 - Update CKEditor5 to v48 (#896)
* N°9128 - Update CKEditor5 to v48 * Move some CSS vars to ckeditor, align variable overload in portal and backoffice * Add specifics to 3.2 portal * Update CKEditor5 build files * Update scssphp with patched version that handles pseudo selectors and attribute selectors * Update scssphp patched version to fix missing $this * Fix translations specific language file import * Remove unused maximize parameters * Update CKEditor5 build files * Fix font size/color for 3.2 portal * Avoid CKEditor styles from bleeding into fields
This commit is contained in:
@@ -50,7 +50,10 @@ const CombodoCKEditorHandler = {
|
||||
this.is_upload_configured[sElem] = false;
|
||||
// create instance
|
||||
return this.instances_promise[sElem] = new Promise((resolve, reject) => {
|
||||
ClassicEditor.create($(sElem)[0], aConfiguration)
|
||||
ClassicEditor.create(Object.assign({
|
||||
attachTo: $(sElem)[0],
|
||||
licenseKey: 'GPL',
|
||||
}, aConfiguration))
|
||||
.then(editor => {
|
||||
// Adjust size if passed in configuration
|
||||
// - Width
|
||||
|
||||
Reference in New Issue
Block a user