Fix the plugin to open a link in a new tab in pad

pull/1/head
yflory 2017-08-28 17:26:51 +02:00
parent d9a4a32bf9
commit 0b4e044540
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ define([
});
editor.on('instanceReady', waitFor());
}).nThen(function (/*waitFor*/) {
Links.addSupportForOpeningLinksInNewTab(Ckeditor);
Links.addSupportForOpeningLinksInNewTab(Ckeditor)({editor: editor});
Cryptpad.onError(function (info) {
if (info && info.type === "store") {
onConnectError();