Discard the autosave draft when resetting the editor
authorAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 15:49:27 +0000 (17:49 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 9 May 2023 15:49:27 +0000 (17:49 +0200)
commitfe6beb2dfb2e2309b086ddcda03a786430d90a49
tree1ee19db582d7bf44a7052b195eaac4dc874a330e
parenta2322d156a0e556318969df1d4d388dded4790dc
Discard the autosave draft when resetting the editor

Fixes #5462
ts/WoltLabSuite/Core/Component/Ckeditor.ts
ts/WoltLabSuite/Core/Component/Ckeditor/Autosave.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor.js
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor/Autosave.js