From c1ba9ea804f1a6074dcc69d888e00681947fd13f Mon Sep 17 00:00:00 2001
From: John McLear Available options and parameters
'height' : 100, // The height of the embedded IFrame
'border' : 0, // The width of the border (make sure to append px to a numerical value)
'borderStyle' : 'solid' // The CSS style of the border [none, dotted, dashed, solid, double, groove, ridge, inset, outset]
+ 'rtl' : false // Show right to left text
If you are confused, view the source code for examples
diff --git a/js/etherpad.js b/js/etherpad.js
index c1862e9..73d066b 100644
--- a/js/etherpad.js
+++ b/js/etherpad.js
@@ -14,13 +14,13 @@
'userColor' : false,
'hideQRCode' : false,
'alwaysShowChat' : false,
- 'pageview' : false,
'width' : 100,
'height' : 100,
'border' : 0,
'borderStyle' : 'solid',
'toggleTextOn' : 'Disable Rich-text',
'toggleTextOff' : 'Enable Rich-text',
+ 'plugins' : {},
'rtl' : false
};
@@ -37,6 +37,11 @@
$.extend( settings, options );
}
+ var pluginParams = '';
+ for(var option in settings.plugins) {
+ pluginParams += '&' + option + '=' + settings.plugins[option]
+ }
+
var iFrameLink = '