fossasia / eventyay-talk

main: https://wikimania.eventyay.com dev: https://wikimania-dev.eventyay.com
Apache License 2.0
1.48k stars 44 forks source link

Add option for rich text editor to forms #19

Open mariobehling opened 6 months ago

mariobehling commented 6 months ago

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

Darkboy17 commented 5 months ago

Please assign this issue to me.

mariobehling commented 5 months ago

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.