Hide Details applies separately


#1

This bug has to be re-open: Hide Details applies separately to each paragraph.

Reproduction

  1. Write several lines of text (separate with linebreak)
  2. Choose all the lines.
  3. Click Hide Details.
  4. PROFIT

Tested here, right now:

Summary

Paragraph 1: text text and more text

Summary

Paragraph 2: text text and more text

Summary

Paragraph 3: text text and more text

Summary

Paragraph 4: text text and more text


I checked the PR that solved this bug before, and I think it’s a regression.
Check this out: https://github.com/discourse/discourse/pull/4499/files cc. @tgxworld


(Sam Saffron) #2

Just to clarify, the implementation of hide details is fine, the bug is in the toolbar button.