diff --git a/public/js/etherpad.js b/public/js/etherpad.js index d003ab5..73d066b 100644 --- a/public/js/etherpad.js +++ b/public/js/etherpad.js @@ -20,6 +20,7 @@ 'borderStyle' : 'solid', 'toggleTextOn' : 'Disable Rich-text', 'toggleTextOff' : 'Enable Rich-text', + 'plugins' : {}, 'rtl' : false }; @@ -36,6 +37,11 @@ $.extend( settings, options ); } + var pluginParams = ''; + for(var option in settings.plugins) { + pluginParams += '&' + option + '=' + settings.plugins[option] + } + var iFrameLink = '