Relative path works! This is what it looks like: <script src="../ckeditor.4.10.1/ckeditor.js"></script>
Thanks so much for the help. On Wednesday, September 12, 2018 at 11:28:52 AM UTC-5, Mark S. wrote: > > On windows, I can use: > > <script src='ckeditor_4.10.1_standard/ckeditor/ckeditor.js'></script> > > which is a relative path below the current TW file. So, if you can do the > same on Mac, then the same code could be used for both. (I don't have a Mac > to test). > > Windows supports junctions, and I believe Mac supports symbolic links. So > your source directory would not have to physically be located beneath the > current TW file. > > Good luck, > Mark > > On Wednesday, September 12, 2018 at 8:35:53 AM UTC-7, armlet wrote: >> >> I have been using bj's visualeditor plugin on Windows, the tiddler >> `$:/plugin/jb/visualeditor/includelib` looks like this: >> <script src="file:///C:/Users/.../ckeditor.js"></script> >> >> And all related files are located in OneDrive folder and synced. >> >> Now I am trying to open the tiddlywiki file on mac, but that path >> including `C:\` obviously doesn't work. Therefore ckeditor tiddlers are not >> rendering. They just display 'loading ckeditor'. >> If I modify the path to be mac format, the same problem will happen on my >> Windows. >> >> So my question is: is it possible to make the path work for both Windows >> and Mac? >> >> Thanks >> > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e1f4ab77-f54e-4ad5-810e-59446e541adc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

