fix plugins using the image modal (#3368)

This commit is contained in:
sadan4 2025-04-10 10:44:04 -04:00 committed by GitHub
parent 64dadcce4c
commit 8ad33db6c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 52 deletions

View file

@ -162,14 +162,6 @@ export default definePlugin({
managedStyle,
patches: [
{
find: ".contain,SCALE_DOWN:",
replacement: {
match: /imageClassName:/,
replace: `id:"${ELEMENT_ID}",$&`
}
},
{
find: ".dimensionlessImage,",
replacement: [