Flarum Details BBCode
Details BBCode for Flarum.
Installation
Run following command via SSH while you're in Flarum root folder:
composer require sijad/flarum-ext-details
Usage
[details=Summary]Hidden Content[/details]
Details BBCode for Flarum.
Run following command via SSH while you're in Flarum root folder:
composer require sijad/flarum-ext-details
[details=Summary]Hidden Content[/details]
Hi Sijad, thanks for Details !
It seems not be possible to hide images with this bbcode, it's normal? Or could you add this feature?
ciao!
Mm, it didn't work on my flarum, maybe it's an incompatibilty with one other extension..
Sometime it's just impossible to open the spoiler (need reload the page). I try to find where comes from this issue. ?
You can see an exemple on this post https://nefald.fr/forum/d/4471-rove-kosmos/7
The BBcode look like this (we use Flagrow Image Uploader ) :
[details]  [/details]
I tried with no alt message or with title for details's BBCode, it didn't affect the result.
Thanks Sijad ?
Hiob It's working perfectly for me when I look at your example, only suggestion I could possibly give is to refresh your cache? (SHIFT & F5)
Yeah, I already purged my cache, without success. It might be a problem under Firefox on Ubuntu 16.04... I will notice my members on this issue.
I've just install Chromium and it works like a charm. Thanks !
Hiob It seems to be problem with Firefox entirely, as it doesn't work on Firefox Windows.
@theredlocknetwork @Hiob sorry about that, I didn't test it on firefox, this should be fixed now, please update with composer
composer update sijad/flarum-ext-details
sijad Yep, that seems to be working now, thanks!
Hello @sijad! You can tell me why in Firefox you code dont works correctly?
As i see in you sources, you have this line of code:
if (!$.fn.details.support) $('#app').addClass('no-details')
You can tell me what is happening here?) If this class was added to app, details dont work correctly in Firefox, on my Ubuntu machine.
Hi, i try install it, but when use [details=Summary]Hidden Content[/details], it only show text "Hidden Content" like normal text, do i need config something ?
same error after do it ? or it's conflict with another ext ? hiix hix