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

easy linebreaks in group creation description field [1] #592

Open
aguestuser opened this issue Apr 4, 2018 · 0 comments
Open

easy linebreaks in group creation description field [1] #592

aguestuser opened this issue Apr 4, 2018 · 0 comments
Labels

Comments

@aguestuser
Copy link
Contributor

[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 :

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

@aguestuser aguestuser added the ux++ label Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant