Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
[FIX] Renderer: load engine with the proper constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Goaman committed Apr 21, 2020
1 parent 477b59a commit 3382a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-renderer/src/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Renderer<T extends JWPluginConfig = JWPluginConfig> extends JWPlugi
if (this.engines[id]) {
throw new Error(`Rendering engine ${id} already registered.`);
}
const engine = new EngineClass(this);
const engine = new EngineClass(this.editor);
this.engines[id] = engine;
}
}
Expand Down

0 comments on commit 3382a0c

Please sign in to comment.