SJSD WYSIWYG editor based on FCKEditor for ezxmltext

Author Message

Paul Forsyth

Tuesday 25 April 2006 7:56:58 am

Its a shame but I understand.

Im looking at spell checking but i cant get it going for some reason. From the FCK site it does include support. Locally i have 'aspell' and chosen the fckeditor.js option to use SpellerPages but still no go. Did you get this working?

Update: I found the button...!

Siniša Šehović

Tuesday 25 April 2006 8:06:29 am

Hi Iiu

I am using IE 6 SP2

S.

---
If at first you don't succeed, look in the trash for the instructions.

Paul Forsyth

Tuesday 25 April 2006 8:17:49 am

Hmm, playing with the spellchecker button. I can get the dialog up and the process starting but the content window has a module not found error. adding php to the rewrite rule seems to fix this though im not totally sure on the wisdom for this.

however, i get blank results from the spellchecker. any ideas?

paul

liu spider

Tuesday 25 April 2006 8:33:33 am

to Sinisa:
confirmed, it is a bug in that js. could you file a bug in SF please?

anyone report a bug, please use the bug tracker in SF, and state the version for eZ, php, browser name and version

to Paul:
sorry, do not have time to deal with that now. Currently the highest priority is to make it work as expected. Extra features will be worked on later :)

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

liu spider

Tuesday 25 April 2006 11:17:13 am

to Kristof:
did you notice I update the bug 1475996?
http://sourceforge.net/tracker/index.php?func=detail&aid=1475996&group_id=164632&atid=832503

When you have time, please post comment there

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Vidar Østevik

Tuesday 25 April 2006 1:07:05 pm

Hello!
This might be a stupid question, but I hope you all may excuse my stupidness...
Can anybody give me an example on a re-write rule that might work with my web server (since my web hosting company is running virtual host).

Regards

Vidar

liu spider

Tuesday 25 April 2006 10:27:34 pm

to Sinisa:
all the issues you reported should have be fixed in svn

and the SVN is compatible with ez publish 3.8 now (<b>svn may be broken under ez 3.6 now, as ez 3.6 is not supported any more</b>)

to Vidar Østevik:
try this:

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html|xml)|var(.+)storage.pdf(.+)\.pdf$ /index.php

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Kristof Coomans

Tuesday 25 April 2006 11:29:10 pm

For the people who are using the rewrite rules mentioned at http://ez.no/doc/ez_publish/technical_manual/3_6/installation/virtual_host_setup , you can add these rules to get SJSD to work:

RewriteRule ^/extension/sjsd/(FCKeditor|fcksjsd)/.* - [L]
RewriteRule ^/extension/[^/]+/design/[^/]+/fckskins/.* - [L]

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Paul Forsyth

Thursday 27 April 2006 9:35:53 am

I switched over to the new style rewrite rules and now i can spellcheck. Its lovely :)

The configuration of the spellchecker is hardcoded to run aspell on windows unfortunately so it needs a tiny comment/uncomment in:

/extension/sjsd/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php

for linux support.

paul

liu spider

Thursday 27 April 2006 5:23:16 pm

to Paul Forsyth:
thanks for the info.

to EVERYONE:
the svn trunk now supports custom tags (both inline and block), please have a try
(do not forget to clear your server/client cache)

it is much more advanced than what OE provides, enjoy

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Paul Forsyth

Friday 28 April 2006 2:36:29 am

Trying with latest svn (rev 94), using 3.8 beta 2.

I have a few problems. I cant seem to be able to activate the custom tags. Is there a specific icon i should be able to see?

Also, if i try to insert an object the 'upload new' button does not do anything if i click it.

Paul

Paul Forsyth

Friday 28 April 2006 3:46:22 am

I see the bug report on sourceforge for the upload button now :)

paul

Andrew Clarke

Friday 28 April 2006 5:50:25 am

Hi,

I may have missed something, but I am getting the error Unknown Node: img when I insert an image object.

I'm using ezPublish 3.7.5 and SJSD trunk rev 94. and FCKeditor 2.2.

I tracked the error back to the file:
ezxmltext/handlers/input/sjsdxmlinput.php
and tried a few changes to no avail.

Has anyone else seen this error?

Any help with this would be appreciated.

meskini

Friday 28 April 2006 6:25:38 am

Hi Liu,

I'm using ezPublish 3.7.5, PHP 4.4.2, SJSD trunk rev 90. and FCKeditor 2.2.

I've been having some problems with french characters :

=> <<l'école>> is replaced by <<l'&eacutecole>> when i save with editor enabled
=> It’s ok when i save with editor disabled

I’m using this meta :

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<meta http-equiv="Content-language" content="fr-FR" />

Any help is much appreciated.

Thank you

Meskini

Paul Forsyth

Friday 28 April 2006 6:37:16 am

re: Andrew Clarke

I get this too, with 3.8. I created an image and added it using the browse mode of the insert object dialog. This then appeared inline but when i went to publish it didnt store properly and i see "The draft was only partially stored." with "Unknown node: XXX Ignored." where XXX was actually my image!

Digging around it looks like in function convertParagraphDomNode of /extension/sjsd/ezxmltext/handlers/input/sjsdxmlinput.php tries to check the name of the dom node but can't find an 'if' condition to match against. In this case the node name is '#textembed'.

Hope this helps.

Paul

liu spider

Friday 28 April 2006 7:40:13 am

to Paul Forsyth:
custom tag is implemented in the last button (atm) in the toolbar (you forgot to clear your server/client cache, didn't you?)

to Paul Forsyth and Andrew Clarke:
embed tag issue is fixed in svn r95
in fact, the tag is embed, not #textembed, but good try, Paul ;)

to meskini:
you may encounter this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1475706&group_id=164632&atid=832503

I thought I fixed it. Anyway, I will investigate this

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Andrew Clarke

Friday 28 April 2006 8:06:06 am

Thanks Liu / Paul,

This fixed my problem, but it is now giving the error:

Body: No 'href' attribute in 'embed' tag.

When I insert an image. Any ideas?

Paul Forsyth

Friday 28 April 2006 8:11:33 am

re: embed tag issue (r95)

i tried my image again and get a different error:

Short description: No 'href' attribute in 'embed' tag.

this was an object create from the standard image class in 3.8.

ok, i see the customtag button now. i guess you meant browser cache? after clearing firefox, restarting apache and clearing eZ cache it appeared :) using the factbox is a little odd but i guess thats what the code does!

paul

liu spider

Friday 28 April 2006 8:30:42 am

to Andrew Clarke and Paul Forsyth:
seems you two have similar bugs again :)

fixed in svn r96

to Andrew Clarke:
please consider using utf-8, so you won't have any troubles with encoding

to Paul Forsyth:
ez 3.8 support is not so well tested, so you may have more issues than in ez 3.7
the inline custom tag support suffers from this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1437318&group_id=75348&atid=543653

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

liu spider

Friday 28 April 2006 8:33:49 am

after upgrade to a new version of SJSD (or svn up), it is recommanded to clear both server side cache and client side cache (firefox is a bit strange, but you can install an extension to have a "clear cache" button in your toolbar)

Clear server side cache can be cleared by using the debug toolbar. no need to restart apache

Anyone use SJSD in windows IE? It sometimes freeze my IE and my whole windows XP, I have to power it off to get rid of it! which is really annoying.

Who knows an extension to IE which will terminate runaway javascript? It is hard to debug if everytime I try to reproduce it will lead into total crash of windows!

In firefox, it works fine and I never experience crash (ok, some times it crashes due to some stupid bugs)

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.