mikitex70 / redmine_drawio

Macro plugin to embed draw.io diagrams into Redmine wiki pages
MIT License
124 stars 51 forks source link

drawing not included in pdf export #55

Closed M0d3rn15t closed 2 years ago

M0d3rn15t commented 6 years ago

Using the PDF export option for a Wiki page draw.io drawings are not rendered in the exported pdf file.

Info: Editor: CKEditor

Environment: Redmine version 3.4.4.stable Ruby version 2.3.6-p384 (2017-12-14) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Git 1.8.3.1 Filesystem
Redmine plugins: redmine_agile 1.4.5 redmine_checklists 3.1.10 redmine_ckeditor 1.1.5 redmine_cms 1.1.0 redmine_contacts 4.1.2 redmine_contacts_helpdesk 3.0.9 redmine_contacts_invoices 4.1.6 redmine_crm_mailchimp 1.0.2 redmine_dmsf 1.6.0 redmine_drawio 0.8.1 redmine_favorite_projects 2.0.3 redmine_finance 2.1.3 redmine_people 1.3.2 redmine_products 2.0.4 redmine_questions 0.0.7 redmine_zenedit 0.0.2 redmineup_tags 2.0.1

mikitex70 commented 6 years ago

This issue cannot be fixed because:

The solution maybe to call, during the PDF export, the drawio site, sending it the diagram source and requesting an PNG export. This maybe slow, and I'm not sure it's feasible.

I will keep to try to find a solution. but it would take time.

M0d3rn15t commented 6 years ago

This issue dramatically reduces the utility of this otherwise brilliant plugin.

I could foresee my redmine site almost entirely replacing all other office applications, however, with out a way to render pdf documents with the diagrams enclosed we will need to generate the documents with office and Visio anyway.