mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 09:17:23 +08:00

This was intended to provide a better UX for interactive elements in the composer preview. However, the morphing strategy has irreconcilable conflicts with our `decorateCooked` API, and so we have been unable to enable this by default. Going forward, we're focussing efforts on the WYSIWYG composer to provide this kind of smooth UX, so we're dropping the `enable_diffhtml_preview` approach.
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