diff --git a/src/extensions/markdown-preview/markdown-preview.coffee b/src/extensions/markdown-preview/markdown-preview.coffee index 8601b8b85..3d260285e 100644 --- a/src/extensions/markdown-preview/markdown-preview.coffee +++ b/src/extensions/markdown-preview/markdown-preview.coffee @@ -19,6 +19,10 @@ class MarkdownPreview extends View @attach() if @isMarkdownFile(path) @on 'markdown-preview:detach', => @detach() + @on 'core:page-up', => @pageUp() + @on 'core:page-down', => @pageDown() + @on 'core:move-to-top', => @scrollToTop() + @on 'core:move-to-bottom', => @scrollToBottom() attach: -> @rootView.append(this)