Fix Dearrow
This commit is contained in:
parent
c3ccbbfa99
commit
aa2a57b733
1 changed files with 2 additions and 2 deletions
|
@ -147,8 +147,8 @@ export default definePlugin({
|
|||
replacement: [
|
||||
// patch componentDidMount to replace embed thumbnail and title
|
||||
{
|
||||
match: /(\i).render=function.{0,50}\i\.embed/,
|
||||
replace: "$1.componentDidMount=$self.embedDidMount,$&"
|
||||
match: /render\(\)\{let\{embed:/,
|
||||
replace: "componentDidMount=$self.embedDidMount;$&"
|
||||
},
|
||||
|
||||
// add dearrow button
|
||||
|
|
Loading…
Reference in a new issue