Skip to content

Commit

Permalink
Update SCEditor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Apr 1, 2024
1 parent a57c65a commit 4fad369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/SCEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ export default function SCEditor(original, userOptions) {

// load plugins scripts
(options.plugins || '').split(',').forEach(function (plugin) {
var src = `../${options.basePath}/plugins/${plugin.trim()}.js`;
promises.push(
loadScript(`../${options.basePath}/plugins/${plugin.trim()}.js`));
loadScript(src));
});

// load icons script
Expand Down

0 comments on commit 4fad369

Please sign in to comment.