You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, a user enters some text with linebreaks, but they disappear. this is confusing. also, users will likely not enter HTML (which they can). so... just use css to let them enter linebreaks and ditch the HTML support until we circle back and add a rich-text editor (if we do.)
You can also put CSS on the rendered element with white-space: pre-line or white-space: pre-wrap to preserve rendered newlines but leave the field as plain text. That's definitely preferable to introducing html or markdown when only newlines are desired.
Longer term you could use an in-browser rich-text editor as you do for one of the other fields, which generates html that the user doesn't need to know about. But for a simple description plain text plus the white-space css property is probably sufficient.
Show less
The text was updated successfully, but these errors were encountered:
[stub]
Context
Right now, a user enters some text with linebreaks, but they disappear. this is confusing. also, users will likely not enter HTML (which they can). so... just use css to let them enter linebreaks and ditch the HTML support until we circle back and add a rich-text editor (if we do.)
Implementation notes:
from @jlgoldman :
The text was updated successfully, but these errors were encountered: