Convert model attributes to strings for comparison
authorAlexander Ebert <ebert@woltlab.com>
Wed, 9 Aug 2023 13:27:46 +0000 (15:27 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 9 Aug 2023 13:27:46 +0000 (15:27 +0200)
commit82c5c247a6d75bbd6760c7e952674f938c289998
tree384628330671a6eaf044e5fb0da9dee786e0ecc3
parent8ecd0a10f6269582079bf30ef2fc500d63a9dd94
Convert model attributes to strings for comparison

The editor API does not guarantee the attribute types to be preserved, numbers can be converted into strings and returned as such.

See https://www.woltlab.com/community/thread/300956-deleted-attachments-do-not-disappear-from-the-editor/
ts/WoltLabSuite/Core/Component/Ckeditor.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/Ckeditor.js