mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
fix emojis in search
This commit is contained in:
parent
016ea8f86b
commit
3246b84229
@ -53,7 +53,7 @@ export default class Search extends Extension {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get findRegExp() {
|
get findRegExp() {
|
||||||
return RegExp(this.searchTerm, !this.options.caseSensitive ? 'gi' : 'g')
|
return RegExp(this.searchTerm, !this.options.caseSensitive ? 'gui' : 'gu')
|
||||||
}
|
}
|
||||||
|
|
||||||
get decorations() {
|
get decorations() {
|
||||||
|
Loading…
Reference in New Issue
Block a user