Closed sstidl closed 2 years ago
I have the same result using for issue text:
# {{drawio_attach(test.xml,size=800,zoom=true,lightbox=true,hilight=#0000ff)}}
I see in the issue description: Failed to execute 'addEventListener' on 'EventTarget': parameter 2 is not of type 'Object'.
Environment:
Redmine version 4.2.3.stable
Ruby version 2.5.9-p229 (2021-04-05) [x86_64-linux-gnu]
Rails version 5.2.6
Environment production
Database adapter Mysql2
Database timezone CEST
ActiveRecord timezone local
App timezone UTC
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.10.6
Cvs 1.12.12
Git 2.35.3
Filesystem
Redmine plugins:
redmine_agile 1.6.4
redmine_drawio 1.4.2
redmine_home_page_redirector 1.0.0
redmine_mentions 0.1.1
redmine_more_filters 1.4.4
redmine_my_page_paginations 1.0.2
redmine_remote_revision_url 0.3.2
redmine_tint_issues 1.2.1
redmine_wysiwyg_editor 0.23.0
that_issue_reply_button 0.0.1
Same problem here Environment: Redmine version 4.2.5.stable Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu] Rails version 5.2.6.3 Environment production Database adapter PostgreSQL Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp Redmine plugins: redmine_drawio 1.4.2
You were right, it is the same problem. A refactor was made in the file 'viewer-static.min.js' and this prevented the correct application of the patch for the addition of the editing button. Try downloading the version from the 'develop' branch, it should work properly now.
Thank you, commit c4a4da053a7200b58d2d645e571889fa85e62199 fixes this.
Is #105 here again?
using
{{drawio_attach(test_1.xml,hilight=#0000ff)}}
i get Failed to execute 'addEventListener' on 'EventTarget': parameter 2 is not of type 'Object'.
My codebase is: tags/v1.4.2 since master or v1.4.3 is not working with our Environment: Environment: