This add a preview button for DiscussionComposer (when you start a discussion).
Note: Beta version. Don't use in production.
composer require simonxeko/preview-discussion
simonxeko Thanks a lot for your whole work!
simonxeko what's the purpose of this line?
console.log('[simonxeko/preview-discussion] Hello, forum!');
It works 😀 nice Flarum function!
Mobile view is cool too... Thanks @simonxeko
Kylo that's part of the default code generated by the FriendsOfFlarum extension generator. So I guess the author simply didn't remove it.