Mindmap with markmap.js

The plugin works really well with @Mr.Red’s Drag&Resize Extension!

For greater ease of use, I made three mini adjustments:

  • Print button (and event beforeprint): removed (in Firefox, to print the frame: right button).
  • Markmap toolbar: positioned at the top left
  • Markmap toolbar: brand removed (logo + label). To do this, add:
const brandLink = document.querySelector('.mm-toolbar-brand');
if (brandLink) {
  brandLink.remove();
};

in the js template, after document.body.appendChild(el);.

Combined with the resizing of the floating panel, we obtain a more spacious drawing surface.