Discard the draft before destroying the editor instance
authorAlexander Ebert <ebert@woltlab.com>
Fri, 28 Apr 2023 13:56:23 +0000 (15:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 28 Apr 2023 13:56:23 +0000 (15:56 +0200)
commit3e18db8c39b77399e5c0148147f319f28166d273
treec65c939326a02d651adbe59e3be7a8012fede08c
parent3db0f431b8db3aebb11ec9ac3d69a6199143b738
Discard the draft before destroying the editor instance

Fixes #5462
ts/WoltLabSuite/Core/Ui/Message/InlineEditor.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js