Flarumite Simple Spoilers - Pure HTML5 and CSS
Nice extension! Is an update planned for the latest beta 16 release?
enricodx Not according to packagist:
Requires
flarum/core: ^0.1.0-beta.15
- Edited
TheDcoder that Composer requirement means it can be installed (but not necessarily tested compatible) with any version >=0.1.0-beta.15 and <0.2.0
See https://getcomposer.org/doc/articles/versions.md#caret-version-range- for an in-depth explanation of all the version/requirements mechanics.
Because not all extensions are affected by breaking changes, the minimal requirements do not need to match with the latest Flarum release. Although it's indeed a good indicator for more complex extensions which will most certainly be affected by breaking changes.
Flarum stable compatible? Not listed in extiverse
1.0.0
Changed
- Marked as compatible with Flarum Stable 1.0
Updating
composer update flarumite/simple-spoilers:"*"
php flarum cache:clear
is it add spoiler button to editor?
HI! How can i program a simple condition in the LESS code based on the amount of likes received by an user? If I didn't go wrong the file should be in flarumite/simple-spoilers/resources/less/components/spoiler.less
I would like to make something like "Click here to show spoiler (you must have 5/10 likes)".
I think this would be a great feature for forums
mceyes The easiest way would be to create a set of display rules attached to a CSS class name, and then use JS to add the class name if the condition is met. Keep in mind though that users could just inspect element to see the content.
- Edited
Is there a way to make a spoiler already open by default? maybe there is a setting that is not in the readme?
EDIT: Don't think about it, I got it by adding another BBCode [spoileropen]
with <details class="flarumite-spoiler" open>
by default.
how to change the color ?