Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
yorkshire-pudding opened this issue Dec 20, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@yorkshire-pudding
Copy link
Contributor

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
Copy link
Contributor Author

yorkshire-pudding commented Dec 20, 2023

@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
Copy link
Member

laryn commented Jan 15, 2024

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

Closing this issue in favor of core issue: backdrop/backdrop-issues#6365

@laryn laryn closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants