mikitex70 / redmine_drawio

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

Cyrillic symbols are not saved from the embedded editor #36

Closed bulbuliator closed 6 years ago

bulbuliator commented 7 years ago

redmine_drawio plugin version 0.7.1 has a problem with cyrillic symbols when the diagram is created by drawio_attach macro from the embedded editor. When you try to save cyrillic symbols in embedded editor the following exception is thrown:

Uncaught Error: this string seems to contain (still encoded) multibytes
    at Object.arrayBufferToString (drawioEditor.js:386)
    at Object.extractImageData (drawioEditor.js:52)
    at receive (drawioEditor.js:115)

But embedding presaved diagram from draw.io with cyrillic symbols by obsolete drawio macro works fine:

2017-07-07 14 37 22

2017-07-07 14 40 05

mikitex70 commented 7 years ago

Related to #35. I will work on it this weekend.

mikitex70 commented 6 years ago

No feedbacks in the last months. Closing bug as seems to be fixed.