felixhayashi / TW5-TiddlyMap

Map drawing and topic visualization for your wiki
http://tiddlymap.org
BSD 2-Clause "Simplified" License
863 stars 132 forks source link

How to use the live editor in the storyriver with zoom and navigation capabilities #441

Closed arunnbabu81 closed 1 year ago

arunnbabu81 commented 1 year ago

I want to use the live editor in the storyriver with zoom and navigation capabilities. I could not make zoom and navigation working with whatever I tried as shown in the link given above.

I even tried this method-but that also is not working for live tab

flibbles commented 1 year ago

You can zoom by holding ctrl.

As for an editing instance of a view in individual tiddlers, I just copied over the contents from tiddlymap/hook/editor into a tiddler and set the view attribute on the $tiddlymap widget, and it seems to work fine for me.


\whitespace trim
\define width() calc(100% - 15px)

<div class="tmap-mobile-editor">
  <div class="tmap-flash-message tmap-warning">
    &#32;
    The editor is not displayed in mobile mode.
  </div>
</div>
<div class="tmap-desktop-editor">
  <$tiddlymap
    class="tmap-sidebar-map-editor"
    editor="advanced"
    object-id="main_editor"
    view="VIEW OF YOUR CHOICE HERE"
    click-to-use="false">
  </$tiddlymap>
</div>