ckeditor lazy loads its files, so the first time the editor is used there is a delay while these files are retrieved. Also ckeditor (as a default) loads the editor instances into iframes. My working assumption is that the (first use) iframe is taking longer to become ready because of this, and, for some (unknown) reason, the parent window is not waiting for it to be ready. - this would explain why sometimes there is a 'unknow' script error thrown. - the error comes from the iframe and for security the browser strip the error message (hence it is 'unknow') - probably the parent is sending a message to the iframe which causes it to reference some object that has yet to be loaded/ready.
I can think of a few ways to avoid this behavior (simplest is to use a local copy of the lib as you hint at) but not how to solve it (I cannot find a bug report for this on the net - so maybe it is tw5 specific) Debugging this involves loading a dev version of the ckeditor and putting in some debug. Ckeditor is on the same level of complexity as tw5, so it may take me a lot of effort to track down the cause. The issue is annoying but not serious, so it is on hold at the moment. On Wednesday, February 11, 2015 at 2:41:03 AM UTC-6, Tobias Beer wrote: > > The CKEditor simply did not load. Apparently I needed to make a full >> refresh (Shift+reload) of Firefox for it to actually load, a simple refresh >> didn't cut it. Sorry for wasting your time. >> > Not sure what it is but I believe it needs some extra amount of time > initializing (over the web / in TiddlyWiki). First looking at things, it's > always either blank or entirely scrambled. After a bit it seems to yield > the expected editor. > > Best wishes, Tobias. > -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

