mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
added the default embed parameters to the embed code
This commit is contained in:
parent
6efaf69157
commit
070b5f16f7
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ var padeditbar = (function()
|
|||
}
|
||||
else if (cmd == 'embed')
|
||||
{
|
||||
var padurl = document.location;
|
||||
$('#embedinput').val("<iframe src='" + padurl + "' width=600 height=400>");
|
||||
var padurl = window.location.href.split("?")[0];
|
||||
$('#embedinput').val("<iframe src='" + padurl + "?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false' width=600 height=400>");
|
||||
self.toogleDropDown("embed");
|
||||
$('#embedinput').focus().select();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue