fix: add zero-width space to resolve cursor selection issue (#5774)

This commit is contained in:
Armando Guarino 2024-10-28 14:19:25 +01:00 committed by GitHub
parent 9386de5087
commit 6b2df67219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@tiptap/extension-mention": patch
---
add zero-width space to resolve cursor selection issue

View File

@ -10,5 +10,8 @@
box-decoration-break: clone;
color: var(--purple);
padding: 0.1rem 0.3rem;
&::after {
content: "\200B";
}
}
}