mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed javascript error caused by CKEDITOR
This was not really a problem, just annoying. But now it is fixed. Fixes issue #457
This commit is contained in:
parent
f83d4103a6
commit
1da2b9eecb
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@ export default class extends Controller {
|
||||||
editor_div.classList.add(...new_classes.split(","));
|
editor_div.classList.add(...new_classes.split(","));
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(editor);
|
//This return is important! Otherwise we get mysterious errors in the console
|
||||||
|
//See: https://github.com/ckeditor/ckeditor5/issues/5897#issuecomment-628471302
|
||||||
|
return editor;
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue