Fix Dearrow
This commit is contained in:
parent
c3ccbbfa99
commit
aa2a57b733
@ -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 New Issue
Block a user