SSShooter / mind-elixir-core

⚗ Mind Elixir is a JavaScript, framework-agnostic mind map core.
https://docs.mind-elixir.com/
MIT License
1.98k stars 294 forks source link

Please help me fix the error exportPng #285

Open thuysalemall opened 2 weeks ago

thuysalemall commented 2 weeks ago

Describe the bug

Desktop (please complete the following information):

SSShooter commented 2 weeks ago

Maybe you can try solution 2

thuysalemall commented 2 weeks ago

I got an error related to CORS in solution 2, is there any way to fix this error author?

thuy1
SSShooter commented 2 weeks ago

To solve CORS related problem, you should set up a proxy to relay img requests.

thuysalemall commented 2 weeks ago

And I have one last thing to ask: can you update Vietnamese locale? And in the future, will the library support exporting data to markdown format instead of json like now? Thanks.

SSShooter commented 2 weeks ago

Sure, i can add Vietnamese locale. However, I don't speak Vietnamese myself and would rely on AI translation for the task. If you are a Vietnamese native speak, maybe you can create a PR for mind-elixir.

SSShooter commented 2 weeks ago

And, if you want to export md data, you try getDataMd().