Do not trim white space on formatting
This commit is contained in:
parent
b630c74b21
commit
f2a5419a1e
@ -230,7 +230,7 @@ namespace RichTextProcessor {
|
||||
newText.push(raw.substr(0, match.index));
|
||||
let text = (match[3] || match[8] || match[11] || match[14]);
|
||||
rawOffset -= text.length;
|
||||
text = text.replace(/^\s+|\s+$/g, '');
|
||||
//text = text.replace(/^\s+|\s+$/g, '');
|
||||
rawOffset += text.length;
|
||||
|
||||
if(text.match(/^`*$/)) {
|
||||
|
@ -94,6 +94,18 @@ $chat-helper-size: 39px;
|
||||
background: inherit;
|
||||
overflow: hidden;
|
||||
} */
|
||||
|
||||
.btn-send-container {
|
||||
.btn-menu-overlay {
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-send {
|
||||
top: auto;
|
||||
bottom: calc(100% + 10px);
|
||||
//right: var(--chat-input-padding);
|
||||
}
|
||||
|
||||
.input-message-input {
|
||||
background: none;
|
||||
@ -106,6 +118,7 @@ $chat-helper-size: 39px;
|
||||
resize: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
white-space: pre-wrap;
|
||||
|
||||
@media only screen and (max-height: 30rem) {
|
||||
max-height: unquote('max(39px, calc(100vh - 10rem))');
|
||||
|
Loading…
x
Reference in New Issue
Block a user