marc0l92 / joplin-plugin-plantUML

Render PlantUML diagram inside your Joplin notes.
MIT License
47 stars 8 forks source link

mindmap was loss #7

Closed linxylz closed 2 years ago

linxylz commented 2 years ago

Some times ,when I switched joplin's built-in editor , the mindMap definition was lost, just left “Copy image” and “Copy image address”。 Such as:

@startmindmap
* Debian
** Ubuntu
*** Linux Mint
*** Kubuntu
*** Lubuntu
*** KDE Neon
** LMDE
** SolydXK
** SteamOS
** Raspbian with a very long name
*** <s>Raspmbc</s> => OSMC
*** <s>Raspyfi</s> => Volumio
@endmindmap

Just left

image


Environment Joplin version: 2.6.10 Platform: Windows OS specifics: Windows 10 LTSC, Build 17763.2452

kdopen commented 2 years ago

I just experienced this with a (large) ERD :(

marc0l92 commented 2 years ago

This is a limitation of Joplin that I'm not able to fix. Everything that is not supported by the RichText editor is deleted if you try to modify the note in that mode. You could experience the same issue with all the other plugins that are generating custom markdown syntax.

What I can do is to create a backup of the diagrams so you can restore them if needed.

I'm just not sure about the strategy to keep those backup:

What do you suggest?

marc0l92 commented 2 years ago

I find a way to fix this issue without the need of a workaround. You can find the fix in version 1.9.0 of this plugin.