feat(ckeditor/watchdog): ignore model out of bounds (closes #7739)

This commit is contained in:
Elian Doran 2025-12-07 22:00:10 +02:00
parent a1c5ed9eb5
commit 9ddf4a1308
No known key found for this signature in database

View File

@ -2,7 +2,10 @@ import { CKEditorError, EditorWatchdog } from "ckeditor5";
const IGNORED_ERRORS = [
// See: https://github.com/TriliumNext/Trilium/issues/5776
"TypeError: Cannot read properties of null (reading 'parent')"
"TypeError: Cannot read properties of null (reading 'parent')",
// See: https://github.com/TriliumNext/Trilium/issues/7739
"model-nodelist-offset-out-of-bounds"
]
export default class CustomWatchdog extends EditorWatchdog {