fix: improve handling of config and rte plugin
This commit is contained in:
@@ -14,7 +14,7 @@ import type {
|
||||
} from "~/types/contentstack"
|
||||
|
||||
function findThisPlugin(ext: ContentstackPluginDefinition) {
|
||||
return ext.type === "rte_plugin" && ext.title === "ImageVault"
|
||||
return ext.type === "rte_plugin" && /imagevault/i.test(ext.title)
|
||||
}
|
||||
|
||||
async function loadScript(url: string) {
|
||||
|
||||
Reference in New Issue
Block a user