feat(editor): add provider for base adapter (#11169)

This commit is contained in:
Saul-Mirone
2025-03-25 12:09:23 +00:00
parent df057b4c12
commit e84c60f53d
18 changed files with 50 additions and 55 deletions
@@ -122,8 +122,8 @@ export const ImageAdapterFactoryIdentifier = AdapterFactoryIdentifier('Image');
export const ImageAdapterFactoryExtension: ExtensionType = {
setup: di => {
di.addImpl(ImageAdapterFactoryIdentifier, () => ({
get: (job: Transformer) => new ImageAdapter(job),
di.addImpl(ImageAdapterFactoryIdentifier, provider => ({
get: (job: Transformer) => new ImageAdapter(job, provider),
}));
},
};