Hi Dave,
I tried the fix for TiddlyMap.
I am getting the following error:
*SyntaxError: JSON.parse: bad escaped character at line 538 column 57 of 
the JSON data*.

I tried it with 5 different copies of my original file. I tried editing the 
tiddler in TiddlyDesktop as well as in Firefox and Chrome. The result is 
the same. After saving the file breaks.
This is the process i followed:
Go to Options> Plugins> Open *$:/plugins/felixhayashi/tiddlymap* Tiddler> 
Edit and Save the tiddler.

Here is *where i pasted *the code:

"$:/plugins/felixhayashi/tiddlymap/hook/editor": {
            "title": "$:/plugins/felixhayashi/tiddlymap/hook/editor",
            "caption": "Map",
            "tags": "$:/tags/SideBar",
            "text": "\\define width() calc(100% - 15px)
*I_PASTED_THE_CODE_HERE*\n\n<div class=\"tmap-mobile-editor\">\n  <div 
class=\"tmap-flash-message tmap-warning\">\n    The editor is not displayed 
in mobile mode.\n  </div>\n</div>\n<div class=\"tmap-desktop-editor\">\n  
<$tiddlymap\n    class=\"tmap-sidebar-map-editor\"\n    
editor=\"advanced\"\n    object-id=\"main_editor\"\n    
click-to-use=\"false\">\n  </$tiddlymap>\n</div>"
        },

If you copy paste the *$:/plugins/felixhayashi/tiddlymap* Tiddler text into 
Notepad++ this block of code is in line 534 - 539


Here is *what it looked like with the code pasted *in:

"$:/plugins/felixhayashi/tiddlymap/hook/editor": {
            "title": "$:/plugins/felixhayashi/tiddlymap/hook/editor",
            "caption": "Map",
            "tags": "$:/tags/SideBar",
            "text": "\\define width() calc(100% - 15px)\define lingo-base() 
$:/language/ThemeTweaks/

<$select 
tiddler="$:/themes/tiddlywiki/vanilla/options/sidebarlayout"><option 
value="fixed-fluid"><<lingo 
Options/SidebarLayout/Fixed-Fluid>></option><option 
value="fluid-fixed"><<lingo 
Options/SidebarLayout/Fluid-Fixed>></option></$select>\n\n<div 
class=\"tmap-mobile-editor\">\n  <div class=\"tmap-flash-message 
tmap-warning\">\n    The editor is not displayed in mobile mode.\n  
</div>\n</div>\n<div class=\"tmap-desktop-editor\">\n  <$tiddlymap\n    
class=\"tmap-sidebar-map-editor\"\n    editor=\"advanced\"\n    
object-id=\"main_editor\"\n    click-to-use=\"false\">\n  
</$tiddlymap>\n</div>"
        },

I also tried the pasting the code after removing all the spaces b/w 
ThemeTweaks/ and <$select tiddler...
Same Result. File Breaks.
Please let me know if i am doing this correct at all.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a7fdd5d1-9d12-40b5-9ec8-ce4cefe3e98b%40googlegroups.com.

Reply via email to