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: [
|
replacement: [
|
||||||
// patch componentDidMount to replace embed thumbnail and title
|
// patch componentDidMount to replace embed thumbnail and title
|
||||||
{
|
{
|
||||||
match: /(\i).render=function.{0,50}\i\.embed/,
|
match: /render\(\)\{let\{embed:/,
|
||||||
replace: "$1.componentDidMount=$self.embedDidMount,$&"
|
replace: "componentDidMount=$self.embedDidMount;$&"
|
||||||
},
|
},
|
||||||
|
|
||||||
// add dearrow button
|
// add dearrow button
|
||||||
|
|
Loading…
Reference in a new issue