![]() ![]() ![]() Note: A watchdog can be used only with an editor built from source. Context watchdog – To be used when your application uses the context. ![]() Editor watchdog – To be used with a single editor instance.There are two available types of watchdogs: Note that the most “dangerous” places in the CKEditor 5 API, like (), () or emitters, are covered with checks and try-catch blocks that allow detecting unknown errors and restart the editor when they occur. It works by detecting that an editor crashed, destroying it, and automatically creating a new instance of that editor with the content of the previous editor. It ensures that an editor instance is running, despite a potential crash. The watchdog utility allows you to do exactly that. In order to limit the effect of an editor crash on the user experience, you can automatically restart the WYSIWYG editor with the content saved just before the crash. Neither is the browser used by the user, your application in which CKEditor 5 is integrated, or any third-party addons that you used. Despite our high quality standards like 100% code coverage, regression testing and manual tests before every release, CKEditor 5 is not free of bugs. Controlling editor creation and destructionĮvery non-trivial piece of software has bugs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |