]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7634
authorsoufiane <soufiane@cubedesigners.com>
Thu, 17 Jul 2025 15:06:48 +0000 (17:06 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 17 Jul 2025 15:06:48 +0000 (17:06 +0200)
resources/markdowneditor/js/markdowneditor.js

index 3d59bcb13e94ffa8fa9b0477b9083338e5152e40..730eadbade6f86aff9fd2fc12bb2cc7446cf2ce6 100644 (file)
@@ -199,6 +199,10 @@ MarkdownEditor.prototype = {
         return Math.max(1, Math.min(page, FLUIDBOOK_DATA.settings.pages));
     },
 
+    openFluidbook: function () {
+        window.open('/fluidbook-publication/preview/' + FLUIDBOOK_DATA.id + '_' + FLUIDBOOK_DATA.hash + '/#/page/' + this.currentPage);
+    },
+
     runAction: function (act, args) {
         if (args === undefined) {
             args = [];