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

Basic markdown text styling functionality broken in messaging #9700

Closed
imagiMary opened this issue Mar 1, 2023 · 2 comments
Closed

Basic markdown text styling functionality broken in messaging #9700

imagiMary opened this issue Mar 1, 2023 · 2 comments

Comments

@imagiMary
Copy link

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:

  • Strikethrough ~~Strikethrough~~ Status currently supports this
  • Italics *italics* or _italics_ Status currently supports this
  • Underline italics __*underline italics*__
  • Bold **bold**
  • Underline bold __*underline bold*__
  • Bold Italics ***bold italics***
  • Underline bold italics __***underline bold italics***__
  • Underline __underline__

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
Copy link
Member

needs status input refactor, will be moved to next milestone

@iurimatias
Copy link
Member

closing as this will be part of a wider rethink of this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants