Yeah, I have to appeal to those who know more than I do, to help you figure out what is happening. Are you doing it manually in GitHub? Are those /n's yours? I added the snippet with no problem on a standalone Stroll (attached). David Gifford Mexico team leader, Mexico City *Resonate Global Mission* *Engaging People. Embracing Christ.* A Ministry of the Christian Reformed Church resonateglobalmission.org On Sat, May 16, 2020 at 7:50 PM Reet Pandher wrote: > Hi Dave, > > Sorry to bother you again. > Now i am getting this error: > *SyntaxError: JSON.parse: expected ',' or '}' after property value in > object at line 539 column 4 of the JSON data* > > For comparison this is what the code looks like now: > > "$:/plugins/felixhayashi/tiddlymap/hook/editor": { > "title": "$:/plugins/felixhayashi/tiddlymap/hook/editor", > "caption": "Map", > "tags": "$:/tags/SideBar", > "text": "\\define width() calc(100% - 15px)\n\n
class=\"tmap-mobile-editor\">\n
tmap-warning\">\n The editor is not displayed in mobile mode.\n >
\n
\n
\n <$tiddlymap\n > class=\"tmap-sidebar-map-editor\"\n editor=\"advanced\"\n > object-id=\"main_editor\"\n click-to-use=\"false\">\n > \n
" > \define lingo-base() $:/language/ThemeTweaks/ > > <$select > tiddler="$:/themes/tiddlywiki/vanilla/options/sidebarlayout"> > }, > > > On Sunday, May 17, 2020 at 12:10:34 AM UTC+5:30, David Gifford wrote: >> >> Hi Rert >> >> Try pasting it on the line AFTER the first line, not at the end of the >> first line. I guess I need to make that clearer. >> >> >> >> >> On Sat, May 16, 2020 at 12:48 PM Reet Pandher >> wrote: >> >>> 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
\n
>> class=\"tmap-flash-message tmap-warning\">\n The editor is not displayed >>> in mobile mode.\n
\n
\n
\n >>> <$tiddlymap\n class=\"tmap-sidebar-map-editor\"\n >>> editor=\"advanced\"\n object-id=\"main_editor\"\n >>> click-to-use=\"false\">\n \n
" >>> }, >>> >>> 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">\n\n
>> class=\"tmap-mobile-editor\">\n
>> tmap-warning\">\n The editor is not displayed in mobile mode.\n >>>
\n
\n
\n <$tiddlymap\n >>> class=\"tmap-sidebar-map-editor\"\n editor=\"advanced\"\n >>> object-id=\"main_editor\"\n click-to-use=\"false\">\n >>> \n
" >>> }, >>> >>> 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 a topic in the >>> Google Groups "TiddlyWiki" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tiddlywiki/GqqWdGnFb94/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> tiddl...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/a7fdd5d1-9d12-40b5-9ec8-ce4cefe3e98b%40googlegroups.com >>> >>> . >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/GqqWdGnFb94/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > tiddlywiki+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/0d1c9749-7948-4f6e-9e78-f9477d2eff2e%40googlegroups.com > > . >