fix(StatusChatInput): paste mentions without changing msg content
Closes: #7109
This commit is contained in:
parent
891a99a0cc
commit
62b0269fff
|
@ -603,7 +603,7 @@ Rectangle {
|
||||||
|
|
||||||
if (d.internalPaste) {
|
if (d.internalPaste) {
|
||||||
if (d.copiedTextPlain.includes("@")) {
|
if (d.copiedTextPlain.includes("@")) {
|
||||||
d.copiedTextFormatted = d.copiedTextFormatted.replace(/underline/g, "none").replace(/span style="/g, "span style=\" text-decoration:none;")
|
d.copiedTextFormatted = d.copiedTextFormatted.replace(/span style="/g, "span style=\" text-decoration:none;")
|
||||||
|
|
||||||
let lastFoundIndex = -1
|
let lastFoundIndex = -1
|
||||||
for (let j = 0; j < d.copiedMentionsPos.length; j++) {
|
for (let j = 0; j < d.copiedMentionsPos.length; j++) {
|
||||||
|
|
Loading…
Reference in New Issue