backdrop-contrib / paragraphs

Paragraphs module to control your content flow
https://backdropcms.org/project/paragraphs
GNU General Public License v2.0
5 stars 11 forks source link

Field help text does not wrap but causes paragraph editor to expand to width of text #163

Closed yorkshire-pudding closed 6 months ago

yorkshire-pudding commented 7 months ago

Steps to reproduce:

  1. Add a paragraph type with a field and add very long help text. For example, I discovered this bug on Viewfield module (see text below), but reproduced on a plain short text field.
  2. Edit a node with paragraphs on. The effect can be seen well if there are several other fields, especially ones with text editor
  3. Add a paragraph of the type with long help text

Text of ViewField:

A comma separated list of arguments to pass to the selected view. Enable the Token module to see a complete list of tokens that may be used as arguments. (Wrap arguments containing commas in double quotes and replace double quotes in arguments with a pair of double quotes.)

Expected result: Text wraps and does not widen the paragraph editor dialog image

Actual result: Text does not wrap but widens the paragraph editor dialog for all chrome_DOKpljgqnC

Note - this does not happen for the same help text on a field on the node create form.

yorkshire-pudding commented 7 months ago

@laryn - I've added a PR that fixes this but I don't know if this is the best fix or if there is something wider happening with the divs in the embedded editor that is different from the node edit form.

laryn commented 6 months ago

Thanks for your help tracking this down and verifying the wider issue, @yorkshire-pudding!

Closing this issue in favor of core issue: https://github.com/backdrop/backdrop-issues/issues/6365