status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
273 stars 76 forks source link

Basic markdown text styling functionality broken in messaging #9700

Open imagiMary opened 1 year ago

imagiMary commented 1 year ago

Version: 0.9 OS: Windows 10

When a user writes a message they can only preview the ‘_italics_’, ‘*italics*’ and ‘\Strikethrough’ markdown styling in the message input field. Other combinations of markdown styling is not correctly previewed in the message input field and is not correctly rendered when the message is posted.

Related issue Although this issue is different, editing messages that contain markdown characters effects the rendering of said markdown characters. So the same issue seen here - #7804 - applies to the markdown mentioned below.


Steps to reproduce:

  1. Navigate to any messaging or communities screen that contains an active message input field.

  2. In the message input field write a message that uses all of the markdown styling that should be supported in the message body area.

Note: Status should aim to support the markdown syntax that Discord supports today.

As a first step in this direction, Status should support:

What currently incorrectly happens:

  1. The markdown syntax are:

a) not previewed correctly in the message input field (except for‘_italics_’, ‘*italics*’ and ‘\Strikethrough’).

b) not rendered correctly when the message is posted (except for ‘_italics_’, ‘*italics*’ and ‘\Strikethrough’). Where the markdown syntax has not been rendered they are visible in the message posted in the message body area.

What is supposed to happen:

  1. All markdown styling should be previewed in the message input field. All previewed markdown styling should be rendered and visible in the message body area after the message is posted. None of the rendered markdown syntax should be visible in the message body area after the message is posted.

Other information

33 Basci markdown stext styling functionality broken in messaging

iurimatias commented 5 months ago

needs status input refactor, will be moved to next milestone