From 97312b5ed3db8e5967184fc2f693a47dcba091f5 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Thu, 26 Nov 2020 20:52:57 +0100 Subject: Remove pdf export code Signed-off-by: Tilman Vatteroth --- public/js/lib/editor/ui-elements.js | 3 +-- public/views/hedgedoc/header.ejs | 8 -------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'public') diff --git a/public/js/lib/editor/ui-elements.js b/public/js/lib/editor/ui-elements.js index ce19436b..b1e3b5cb 100644 --- a/public/js/lib/editor/ui-elements.js +++ b/public/js/lib/editor/ui-elements.js @@ -17,8 +17,7 @@ export const getUIElements = () => ({ download: { markdown: $('.ui-download-markdown'), html: $('.ui-download-html'), - rawhtml: $('.ui-download-raw-html'), - pdf: $('.ui-download-pdf-beta') + rawhtml: $('.ui-download-raw-html') }, export: { dropbox: $('.ui-save-dropbox'), diff --git a/public/views/hedgedoc/header.ejs b/public/views/hedgedoc/header.ejs index f700cd5b..ecf96e42 100644 --- a/public/views/hedgedoc/header.ejs +++ b/public/views/hedgedoc/header.ejs @@ -66,10 +66,6 @@
  • <%= __('Raw HTML') %>
  • - <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%> -
  • PDF (Beta) -
  • - <% } %>
  • Help
  • @@ -165,10 +161,6 @@
  • <%= __('Raw HTML') %>
  • - <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%> -
  • PDF (Beta) -
  • - <% } %> -- cgit v1.2.3