承接 flarumite/simple-spoilers 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

flarumite/simple-spoilers

最新稳定版本:1.0.0

Composer 安装命令:

composer require flarumite/simple-spoilers

包简介

BBCode spoilers (with custom title support) with pure HTML and CSS.

README 文档

README

MIT License Latest Stable Version Total Downloads Donate

  • HTML5 only spoilers - no JS needed!
  • Works with FriendsOfFlarum/nightmode
  • Integrates with standard Flarum BBCode
  • Supports all modern browsers (96.26% of web traffic)

A Flarum extension. Adds simple spoilers to your forum. Uses pure HTML and CSS with absolutely no JavaScript.

Supports FriendsOfFlarum's Night Mode.

Browser support

As this extension uses the <details> and <summary> elements, this extension is compatible with all modern browsers with 96.26% support for web traffic.

Installation

Install with composer:

composer require flarumite/simple-spoilers:"*"

To update:

composer update flarumite/simple-spoilers
php flarum cache:clear

Usage

Spoilers are available in two versions: normal and customised title. The normal spoilers use the values in the locale file as titles (button text), whereas the customised title version allows users to add their own title to replace the localised versions.

Normal spoiler

Click to show

[spoiler]
Some content
[/spoiler]

Spoiler with custom title

Click to show

[spoiler title=My cool title]
Some content
[/spoiler]

Spoiler-ception!

Putting spoilers inside spoilers even works!

Click to show

[spoiler]
test
[spoiler]
embedded
[spoiler]
embedded
[spoiler]
embedded
[/spoiler]
[/spoiler]
[/spoiler]
[/spoiler]

Links

统计信息

  • 总下载量: 4.38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: Less

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固