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

Add option for rich text editor to forms #19

Open
mariobehling opened this issue Jan 20, 2024 · 2 comments
Open

Add option for rich text editor to forms #19

mariobehling opened this issue Jan 20, 2024 · 2 comments

Comments

@mariobehling
Copy link
Member

mariobehling commented Jan 20, 2024

The call for participation offers users to use Markdown. This is only good for techies. Please add a simple rich-text editor on the organiser and the public forms that currently allow markdown. Enable the configuration of the editor in the config file.

Screenshot from 2024-02-08 15-31-23

Editors usually have the option to allow filtered HTML/limit permitted tags. Just need to add a suitable existing library. We need only basic rich text capabilities e.g. font bold, italic, underline, strike-through, color, lists, link.

The following should be possible.

a, abbr, acronym, b, br, code, div, em, h1, h2,
h3, h4, h5, h6, hr, i, li, ol, p, pre, span, strong,
table, tbody, td, thead, tr, ul

And the following attributes:
Screenshot from 2024-02-08 15-29-41

Compare https://docs.pretalx.org/en/latest/user/markdown.html#using-html

@mariobehling mariobehling transferred this issue from mariobehling/Xoai-Artwork Jan 22, 2024
@Darkboy17
Copy link
Contributor

Please assign this issue to me.

@mariobehling
Copy link
Member Author

Thank you for your interest. Issues are not usually assigned to new contributors. If you would like to solve this issue you can simply create a PR. It is unlikely that someone else would solve issues in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants