ChildMindInstitute / mindlogger-applet-builder

Browser-based interface for building MindLogger applets
Other
2 stars 0 forks source link

Update Markdown to render HTML #854

Open WorldImpex opened 2 years ago

WorldImpex commented 2 years ago

Allow the editor to enter HTML into markdown messages and have it render on mobile and web

MaksimYurys commented 2 years ago

@astef021 Please explain to me what HTML tags must be rendered in Markdown?

fullstackdev065 commented 2 years ago

@MaksimYurys I think we need to render all HTML tags. div, img, span, b, i, br, etc

also inline html styles ( style="margin-top: 10px;" ) needs to work.

MaksimYurys commented 2 years ago

@WorldImpex I have questions about this ticket.

  1. Are you talking about markdowns in configurable reports?
  2. Should HTML be rendered in item markdowns? I mean the items from the activity.
  3. Should HTML be rendered in any markdown?
WorldImpex commented 2 years ago
  1. In applet builder (which contains configurable reports)
  2. yes
  3. Yes any markdown in applet builder
natalia-muzyka commented 2 years ago

@WorldImpex Is there any priority on tags and styles and which exactly tags are implemented to be rendered? Except for the mentioned above.

WorldImpex commented 2 years ago

No there was no scope given so if we have some working HTML then its on our users to define what other tags they hope to use

natalia-muzyka commented 2 years ago

Issues:

EK-Low Priority: Bold, italic text, and link are not interpreted on mobile app #2828

EK-Med priority: Content and response options are trimmed on the screen with HTML elements #2833