fix: ComponentDispatch and GifPaste plugin (#1843)

Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
megumin 2023-10-25 13:39:57 +01:00 committed by V
parent 4da79abb21
commit 4beef9f73b
3 changed files with 8 additions and 3 deletions

View file

@ -33,7 +33,7 @@ export default definePlugin({
patches: [{
find: ".handleSelectGIF=",
replacement: {
match: /\.handleSelectGIF=function.+?\{/,
match: /\.handleSelectGIF=\i=>\{/,
replace: ".handleSelectGIF=function(gif){return $self.handleSelect(gif);"
}
}],