From d908df5e8ffea34044056187ac23ca30e2b707cc Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 16 Jun 2015 19:26:07 +0200 Subject: [PATCH] Update jquery etherpad plugin --- public/js/etherpad.js | 7 +++++++ 1 file changed, 7 insertions(+) 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 = '