From: Vincent Vanwaelscappel Date: Tue, 21 Feb 2023 11:34:47 +0000 (+0100) Subject: wait #5745 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=79c5c23636f5a7cc55cef831fb7a38101ecf72f3;p=fluidbook-toolbox.git wait #5745 @0.25 --- diff --git a/resources/linkeditor/js/linkeditor.js b/resources/linkeditor/js/linkeditor.js index bf5de031c..e7dd9d5a8 100644 --- a/resources/linkeditor/js/linkeditor.js +++ b/resources/linkeditor/js/linkeditor.js @@ -437,6 +437,10 @@ LinkEditor.prototype = { } }, + openFluidbook: function () { + window.open('/fluidbook-publication/preview/' + FLUIDBOOK_DATA.id + '_' + FLUIDBOOK_DATA.hash + '/#/page/' + this.currentPage); + }, + // Convert global coordinates to fluidbook ones globalToFluidbook: function (x, y, onePage) { let res = this._globalTo(x, y, this.fluidbookRect, 1 / (this.fs * this.zoom.zoom));