Open RX14 opened 4 years ago
I upgraded to pleroma 2.1.2 and the bundled FE doesn't handle ctrl+enter well with this addon enabled. When ctrl+enter is pressed, the compose box disappears like usual but no post is sent. Clicking the "post" button works as usual.
I removed https://github.com/Eskuero/collapsed_mastodon/blob/00dddd4ab016664f5064a76b1f73fd066b98667e/js/main.js#L153-L157 and it fixed the bug, with the downside that you need to press esc manually to get the compose window to go. Moving the code to onkeyup didnt seem to help either. I don't want to remove this code, but I can't debug this either, so it might be best to disable it on pleroma for now unless it can be debugged,
esc
Ended up converting this to a userscript so I can develop it on my own when it breaks for pleroma https://github.com/RX14/collapsed_mastodon
I upgraded to pleroma 2.1.2 and the bundled FE doesn't handle ctrl+enter well with this addon enabled. When ctrl+enter is pressed, the compose box disappears like usual but no post is sent. Clicking the "post" button works as usual.
I removed https://github.com/Eskuero/collapsed_mastodon/blob/00dddd4ab016664f5064a76b1f73fd066b98667e/js/main.js#L153-L157 and it fixed the bug, with the downside that you need to press
esc
manually to get the compose window to go. Moving the code to onkeyup didnt seem to help either. I don't want to remove this code, but I can't debug this either, so it might be best to disable it on pleroma for now unless it can be debugged,