diff --git a/www/slide/main.js b/www/slide/main.js index 86486227d..7362a18d4 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -138,7 +138,7 @@ define([ Slide.setModal($modal, $content, $pad, ifrw, initialState); var enterPresentationMode = function (shouldLog) { - Slide.show(true, $textarea.val()); + Slide.show(true, editor.getValue()); if (shouldLog) { Cryptpad.log(Messages.presentSuccess); }