Rich text for topic description and node notes
keyserj opened this issue · 0 comments
keyserj commented
Describe your issue
When I'm creating a topic, sometimes in the topic description I
- add links, and it'd be nice if they were clickable, or if I could put a link behind some display text
- describe lists of things, so using bullets or numbers would be nice too
Links probably shouldn't be necessary for node notes (because of source nodes) but bullets and numbers could be nice.
Solution you'd like
Use a rich text box for topic description and node notes.
This is almost completely prototyped already in de3b67f
Alternatives you've considered
No response
Additional context
No response
Technical ideas and questions
- does html need to be sanitized before being rendered into the editor?
- does tiptap do any sanitization?
- would it be best to convert html to markdown before saving in the database, to avoid harmful things (scripts?) being rendered into the editor?
- will the text box re-render and flicker every time pane is opened? (during prototyping with node text it seemed like this happened)
- could just leave this as a bug and try to fix later