ckeditor does not load plugin BJ Tools VisualEditor

307 views
Skip to first unread message

RVPHX

unread,
Mar 17, 2019, 9:24:28 PM3/17/19
to tiddl...@googlegroups.com
How to solve this problem?

Win 10 Pro 1803 64 bit
Firefox Quantum 65.0.2 64 bit
TiddlyWiki Version 5.1.19

That works:

ckeditor_1.PNG

But 

<script src="file://d/TiddlyWiki/ckeditor/ckeditor/ckeditor.js"></script>

or 

<script src="file://d:/TiddlyWiki/ckeditor/ckeditor/ckeditor.js"></script>

aren't working.


Then ckeditor does not load and also no (visible) error message(s). 



I downloaded the CKEDITOR Standard Package and followed the instructions from BJ Tools VisualEditor $:/plugins/bj/visualeditor.


To avoid querks with loading the library from the web include the library from your Computer ...

And promptly I have the querks!

What's wrong?
 




 





Birthe C

unread,
Mar 17, 2019, 11:52:58 PM3/17/19
to TiddlyWiki
Hi RVPHX,

Did you remember to set the tiddler type and what type did you use? I had to to try a couple of ckeditor versions to get it working with type=text/x-htmlp. I used the library from the web.


Birthe

@TiddlyTweeter

unread,
Mar 18, 2019, 7:45:58 AM3/18/19
to TiddlyWiki
IMO its pretty amazing you can still get it to work. BJ made that yonks ago. Since then ckeditor has changed a lot, as has TW.

I do think an information update on INSTALL could be useful?

I'm sure BJ will help if you ask him.

Best wishes
Josiah

Birthe C

unread,
Mar 18, 2019, 9:18:12 AM3/18/19
to TiddlyWiki
Hi Josiah,

On Linux using Chromium and TW5 version 5.1.19, it worked just as explained by BJ, http://bjtools.tiddlyspot.com/#VisualEditor

Drag and drop the plugin to your TW. Save and refresh.

I used it from the web and got the link https://ckeditor.com/ckeditor-4/download/

Open tiddler: $:/plugin/bj/visualeditor/includelib


Save and refresh your TW.

Create a new tiddler, set the type to text/x-htmlp. Save and close the tiddler. When you open your tiddler again it will load the visual editor.

Downloading and using library locally I have never tried. Using it from the web it does not take long time to load.


Birthe

@TiddlyTweeter

unread,
Mar 18, 2019, 9:39:28 AM3/18/19
to TiddlyWiki
Birthe

Very good to know.

Thank you!

J.

Birthe C

unread,
Mar 18, 2019, 10:24:38 AM3/18/19
to TiddlyWiki
Hi RVPHX,

On Linux using Chromium, I tried downloading and loading from local. That worked also. I dragged the ckeditor.js from my filemanager to a new tab in the browser to get the path right. Copied and used in the $:/plugin/bj/visualeditor/includelib. Save and and reload your wiki. I worked straight away.


Birthe

RVPHX

unread,
Mar 18, 2019, 6:23:24 PM3/18/19
to tiddl...@googlegroups.com
Thank you all for your efforts!

I'm using TiddlyWikiDesktop. The behavior is strange in some places. 
- installing plugins
- chrashes of TiddlyWikiDesktop  

I will change to Firefox and give it a second try. 

Since I want to extend VisualEditor with the CKEditor plugin text color, I am looking for corresponding instructions on the Internet. I also found the following syntax for loading the ckeditor lib: 

<script type=”text/javascript” src=”./ckeditor/ckeditor.js“></script>
<script src='http://127.0.0.1/libs/ckeditor/ckeditor.js'></script>


 



BJ

unread,
Mar 19, 2019, 4:03:40 AM3/19/19
to tiddl...@googlegroups.com
Hi Rvphx, you download different versions of ckeditor from https://ckeditor.com/ckeditor-4/download/. The 'full package' contains a color picker. (it is also easy to 'build your own' and select the plugins you want)


can just put in the path to the lib in the includelib tid (example path is a linux style path) and then save reload your tiddlywiki:



cheers
BJ
Reply all
Reply to author
Forward
0 new messages