Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: HTML export #152

Open
Nico-Romero opened this issue Apr 1, 2021 · 0 comments
Open

Feature request: HTML export #152

Nico-Romero opened this issue Apr 1, 2021 · 0 comments

Comments

@Nico-Romero
Copy link

Nico-Romero commented Apr 1, 2021

This is a great tool! Thanks!
However, once I created my mind map I want to share it.
NextCloud will generate a link to the km file that I can share with anyone.
People will be able to download the file, which is useless if they don't have a tool that displays it properly.
Currently, the only way for someone to visualize the mind map, holding links and tooltips, seems to be to share the NextCloud link, and let the NextCloud instance to use the same editing app to display the file.
I think this is not good because:
-It holds a dependency on the software (at least pdf export did not work very good yet, and svg takes interactivity and links off the road)
-Once the mind map is created I want to share it as view only, without all the editing toolbars.
-It would be great to be able to export a map to an HTML file.

Proposal:
Add export to HTML function.

Not sure how difficult it would be to create an HTML map rendering in a simple way without all the engine toolbars, but using jsmind, it seems very easy to export the map as an HTML file (not sure if the license fits here?).

I was doing some testing, and the km format is pretty similar to the node-array format(1.2.B).

Saving the jsmind js and css files, either embedded or outside the HTML file, and adjusting the km json to fit the one of the formats used by jsmind (aren't these any common?) should be a quite simple thing to do, and would allow for an easy HTML5 + Js export.

Base export to some of the formats used by jsmind and a reference to its usage would be great as a start, as it would allow anyone to build a view only HTML pretty quick.

Mentioned jsmind because it is what I could find and thought it would be compatible in terms of licencing, but I can see now that probably it is not. Anyway the idea would be still to be able to export a map in a view only HTML format that any browser could represent without the NextCloud dependency (and ideally without the editing tooling section).

Even better would be to export to simple HTML + CSS, even if that would not allow to hide and expand nodes (same happens with the image and pdf export, but still HTML seems a better option in most cases).

@Nico-Romero Nico-Romero changed the title Feature request: HTML5 export - the easy way using jsmind Feature request: HTML export Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant