diff --git a/src/plugin/js/constants.js b/src/plugin/js/constants.js index b4064096b..4fd5f1e13 100644 --- a/src/plugin/js/constants.js +++ b/src/plugin/js/constants.js @@ -42,5 +42,6 @@ export const DEFAULT_OPTIONS = { customClass : '', verification : 'continue', verificationHelp : 'Type "[+:verification]" below to confirm', - promptHelp : 'Type in the box below and click "[+:okText]"' + promptHelp : 'Type in the box below and click "[+:okText]"', + forwardPlugin : {} } diff --git a/src/plugin/js/index.js b/src/plugin/js/index.js index 44fd016a2..35cd9138b 100644 --- a/src/plugin/js/index.js +++ b/src/plugin/js/index.js @@ -26,7 +26,7 @@ Plugin.prototype.mountIfNotMounted = function () { let node = document.createElement('div') document.querySelector('body').appendChild(node) - let Vm = new DialogConstructor() + let Vm = new DialogConstructor(this.globalOptions.forwardPlugin) Vm.registeredViews = this.registeredComponents()