discourse/plugins/discourse-details
Joffrey JAFFEUX 39f3dbd945
Introduces select-kit
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:

```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
..
assets FIX: do not generate multiple detail blocks when the selected input (#5290) 2017-11-06 18:03:52 +11:00
config correct issues with pr 2017-05-24 12:37:27 -04:00
spec/components fix broken spec 2017-07-18 14:44:49 -04:00
test/javascripts Introduces select-kit 2017-11-21 11:53:09 +01:00
LICENSE add discourse-details plugin 2015-11-30 11:32:01 +01:00
plugin.rb REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
README.md formally remove IE9 support 2016-01-02 23:49:52 -08:00

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