discourse/plugins/discourse-details
Robin Ward 09764291b1 FIX: In test mode, initializers were modifying classes over and over
This adds a new property, `pluginId` which you can pass to `modifyClass`
which prevent the class from being modified over and over again.

This also includes a fix for polls which was leaking state between tests
which this new functionality exposed.
2021-09-02 11:22:01 -04:00
..
assets FIX: In test mode, initializers were modifying classes over and over 2021-09-02 11:22:01 -04:00
config Update translations (#14063) 2021-08-24 15:25:44 +02:00
spec/components FIX: Get only the correct collapse title in emails (#10228) 2020-07-13 18:49:36 -07:00
test/javascripts FIX: Lots of plugin tests were using old, non-Ember compat CLI APIs (#13320) 2021-06-09 10:58:55 -04:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
README.md for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -08:00
plugin.rb discourse/discourse change from 'master' to 'main' 2021-07-19 11:46:15 -04:00

README.md

discourse-details

HTML 5.1 <details> polyfill for Discourse.

NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.

Usage

In your posts, surround text with [details=your summary] ... [/details]. For example:

   I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].

Installation

Follow our Install a Plugin howto, using git clone https://github.com/discourse/discourse-details.git as the plugin command.

Issues

If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.

License

MIT