Page 1 of 1

ckeditor strange behavious

PostPosted: Tue Jan 08, 2013 9:06 am
by ngms27
I've started testing ckeditor 0.3.1 and get some strange behaviour when I click the button for Bold text:
Capture.JPG
Bold button pressed
Capture.JPG (33.67 KiB) Viewed 22675 times


i.e. Erroneous characters appear.

Now if I delete the erroneous characters and add some txt I get an error on save:
Capture1.JPG
Capture1.JPG (44.03 KiB) Viewed 22675 times


Any ideas on what this is?

Re: ckeditor strange behavious

PostPosted: Tue Jan 08, 2013 9:30 am
by shannah
Is there anything in the javascript error log that offers a clue?
Note: For debugging purposes, it might make your life easier to turn on JavascriptTool debugging by adding the following to your conf.ini file:
Code: Select all
[Dataface_JavascriptTool]
    debug=1



This turns off minification so that JS error logs will be easier to trace back to the suspect code.

-Steve

Re: ckeditor strange behavious

PostPosted: Wed Jan 09, 2013 2:13 am
by ngms27
Ok I've turned this option on but where do I find the Javascript error log?

Re: ckeditor strange behavious

PostPosted: Wed Jan 09, 2013 10:02 am
by shannah
The javascript error log would be in your browser.

Instructions for Chrome: https://developers.google.com/chrome-de ... cs/console

Other browsers will have different ways to get there. Chrome (IMHO) has the best Javascript logging and debugging capabilities.

-Steve

Re: ckeditor strange behavious

PostPosted: Thu Jan 10, 2013 2:58 am
by ngms27
No errors or anything being posted.
Hitting the B Bold button downloads nothing from the web server either.

Re: ckeditor strange behavious

PostPosted: Fri Jan 11, 2013 8:27 am
by ngms27
I get the error even if Bold isn't selected.

However simply highlighting some text then hitting save makes it work!

Re: ckeditor strange behavious

PostPosted: Wed Jan 16, 2013 9:45 am
by ngms27
Some further info re the bug.

If I click on the save icon in ckeditor it works a treat.
If I click on the Xataface Save button I get the aformentioned error unless I put the cursor back in the edit Window and then press the Xataface save button again.