mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 19:06:15 -04:00
colibris: add style for ep_embedded_hyperlink plugin
This commit is contained in:
parent
9205b551df
commit
e8c229cc65
7 changed files with 59 additions and 6 deletions
|
@ -1,4 +1,16 @@
|
|||
function customStart()
|
||||
{
|
||||
$('#pad_title').show();
|
||||
|
||||
$('.hyperlink-icon').on('click',function() {
|
||||
$('.hyperlink-dialog').appendTo('body').css({'top': $('.hyperlink-icon').offset().top + 42, 'left': $('.hyperlink-icon').offset().left - 12});
|
||||
});
|
||||
$('.hyperlink-url').on("keyup", function(e)
|
||||
{
|
||||
if(e.keyCode == 13) // touche entrée
|
||||
{
|
||||
$('.hyperlink-save').click();
|
||||
}
|
||||
});
|
||||
$('.hyperlink-save').click(function() { $('.hyperlink-dialog').hide(); });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue