@Mark @ BJ
*Mark, that worked brilliantly*. FYI, it was working using the cloudflare 
link, but I wanted to customize the package, and that can only be done with 
a local file.
Thanks so much!

BJ, can you update your documentation for this nodejs solution?

On Sunday, December 27, 2020 at 9:58:12 PM UTC-6 Mark S. wrote:

> On Sunday, December 27, 2020 at 7:42:14 PM UTC-8 bluespire wrote:
>
>>
>>    - Current body of "$:/plugin/bj/visualeditor/includelib": <script 
>>    
>> src='file:\\\c\users\Persona\Apps\TiddlyWikis\Personal\ckeditor\ckeditor.js'></script>
>>
>> I would be surprised if the browser allowed you mix a web page (even if 
> local) with a local file path.
>
> Can you navigate to  
> http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.3.2/ckeditor.js ?
>
> (I can right now, but understand it may go down).
>
> If so, you might try changing src above to
>
> src="http://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.3.2/ckeditor.js";
>  
> TW on node now has a way to serve up static files. Not sure if it will 
> serve up js files though. But if you wanted your own offline (not on the 
> net) version, you would need to serve up ckeditor.js somehow, I think.
>
> See 
> https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server
>
> So you would make a files directory, put ckeditor.js in it, and change src 
> to the path ckeditor.js has on your local server.
>
>
>
>
>
>

-- 
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/0b878bce-eca6-44f2-ad5a-0a5c7df915ban%40googlegroups.com.

Reply via email to