discourse/plugins/discourse-details
Renato Atilio 25e80511f7
UX: rich editor [details] caret hover and padding (#33057)
Improves the styles for the [details] caret pseudo-element on the rich
editor.

Additionally, having `summary` have no `pointer-events` is important so
Firefox doesn't mess with our caret positioning when clicking it.
2025-06-03 15:23:21 -03:00
..
assets UX: rich editor [details] caret hover and padding (#33057) 2025-06-03 15:23:21 -03:00
config Update translations (#33052) 2025-06-03 17:37:13 +02:00
spec FIX: uses text selection when using hide details (#33049) 2025-06-03 19:53:45 +02:00
test/javascripts PERF: Remove <details> polyfill (#33020) 2025-05-30 21:47:09 +01:00
LICENSE Update LICENSE (#31217) 2025-02-27 00:16:59 +01:00
plugin.rb FIX: elided content in email should always have an href 2024-05-22 15:38:18 +02:00
README.md for docs, normalize on space after code fence when specifying lang 2019-01-21 01:19:28 -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