Skip to content

Commit

Permalink
Merge pull request #4 from imjoy-team/fix-get-plugin
Browse files Browse the repository at this point in the history
Update to loadPlugin api
  • Loading branch information
oeway authored Jul 3, 2024
2 parents 2027031 + 0eca003 commit 06ade12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImJoyEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ export default {
try {
this.loading = true;
this.api.showProgress(0);
this.plugin = await this.api.getPlugin(this.editor.getValue(), {
this.plugin = await this.api.loadPlugin({src: this.editor.getValue()}, {
namespace: this.config.namespace
});
if (!this.loading) {
Expand Down

0 comments on commit 06ade12

Please sign in to comment.