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<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>" \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> }, 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 <reet11...@gmail.com > <javascript:>> 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<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 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 <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/a7fdd5d1-9d12-40b5-9ec8-ce4cefe3e98b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/a7fdd5d1-9d12-40b5-9ec8-ce4cefe3e98b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d1c9749-7948-4f6e-9e78-f9477d2eff2e%40googlegroups.com.