You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
When creating a message from scratch, typing the message "sample text" and sending the message will send a message with content sample text. However, if you insert a linebreak (shift + enter on mac, dependent on settings), then press backspace (to return to a single line) and then type a message "sample text", the message content will be <p>sample text</p>.
This will cause issues with commands (if a user has done anything spanning multiple lines then used deletion to return to a single line) as they depend on checking the beginning of the message to see if it contains special text.
Proposed solution:
When a user makes a change that moves from multiple paragraphs to a single paragraph, we should move the contents of that single paragraph to the root node and then remove the paragraph tag
The text was updated successfully, but these errors were encountered:
When creating a message from scratch, typing the message "sample text" and sending the message will send a message with content
sample text
. However, if you insert a linebreak (shift + enter on mac, dependent on settings), then press backspace (to return to a single line) and then type a message "sample text", the message content will be<p>sample text</p>
.This will cause issues with commands (if a user has done anything spanning multiple lines then used deletion to return to a single line) as they depend on checking the beginning of the message to see if it contains special text.
Proposed solution:
The text was updated successfully, but these errors were encountered: