This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » SJSD WYSIWYG editor based on...

SJSD WYSIWYG editor based on FCKEditor for ezxmltext

SJSD WYSIWYG editor based on FCKEditor for ezxmltext

Wednesday 12 April 2006 5:56:35 pm - 236 replies

This thread is for the project SJSD (contribute: )

Please ask your questions in this thread rather in the contribution section.
If you do not expect replys, please add comment in the contribute section happy.gif Emoticon

<b>HOWTO DEBUG this extension</b>
As the nature of this project, there are two main sources of bugs: javascript running in client side and the server side php scripts

DEBUG Javascript:
*Firefox (at least 1.5) comes with a javascript console, and it can give precise information about where and why some commands in the javascripts fail.

*IE: without Microsoft script editor/debugger, the error message is basically useless. One of them is recommanded (Microsoft script debugger is free for downloading).

When using the editor, there are two buttons at the end of the toolbar: the first one will show the current html source of the editor. The second one is more interesting: onloading, it will communicate with ez publish server to get the converted xml from the current html source. There will be a button "Output" after the xml is displayed, it will ask the server to convert the xml back to html, and show it in the window. After this, a ok button will appear, which can be used to set the new generated html back to the sjsd editor.

Please check bugs and "feature requests" sections in our homepage:
if it is not there, you can file one (the prefered method), or state it here

Modified on Tuesday 11 January 2011 9:59:40 am by Nicolas Pastorino

Sunday 21 May 2006 5:59:48 pm

are you saying fixed the problem with an extra unset?

I am interested in the var_dump output. I do not find any problem with recursion in that variable (and most others do not either AFAICT)

Sunday 21 May 2006 6:49:18 pm

I see, and it makes me really frustrated blunk.gif Emoticon Please take a look. I've created a "bug report" on, with debug and phpinfo attached.

By the way, what is the inteded behavior of Insert Object when i choose a file from "Related files" in pop-up dialog? It gives me somtehing like this in FCKEditors source

<img width="32" height="32" title="11str" alt="11str" src="/share/icons/crystal-admin/32x32/mimetypes/pdf.png" class="transparent-png-icon" /><br />

and the submit to ez then chokes with

Required attribute 'href' is not presented in tag <embed>.

Sunday 21 May 2006 6:56:20 pm

Yes, I saw your bug report

it should insert something like this:
<img align="middle" title="Folder" _ez_embed="1" alt="{&quot;align&quot;:&quot;center&quot;}" src="/ez38/share/icons/crystal/16x16/filesystems/folder.png" />

(all the information is stored in the alt attribute)

Modified on Sunday 28 May 2006 4:14:55 am by liu spider

Saturday 27 May 2006 4:22:52 pm


I've installed sjsd from svn (rev 154) + fckeditor 2.3b on ez 3.8.0 and tried to paste from a simple word file with a colored text.

I get this when clicking on the pasted text : <i>Detected unknown tag "span", removed</i>,
<i>Detected unknown tag "div", removed</i>

And when I try to save, I get this :

 The draft could not be stored.
Required data is either missing or is invalid:
    * Description: Unknown tag: <o:p>. Wrong closing tag : </o:p>.

Apart using "Paste as plain text", is there anything I can do about that ?


Saturday 27 May 2006 4:50:59 pm

uhm, the pasting from word will lost important format, such as:
you copy a list in word, it will be converted to <p> tags when pasted into html, so it is pretty useless

Sunday 28 May 2006 4:14:13 am

after re-checking, I think this can be fixed

it should be ok with svn r160 now

do not forget to clear your browser cache after upgrade (note: firefox under windows can not clear cache reliably)

Modified on Sunday 28 May 2006 5:13:27 am by liu spider

Sunday 28 May 2006 4:28:07 pm


I've tested r160, works better happy.gif Emoticon
Just a thing : When I paste from a bullet list (using paste from word) with colored text, I get :

Attribute 'type' is not allowed in <ul> element.


Sunday 28 May 2006 7:23:50 pm

you can ignore these warnings safely

extra attributes will be removed automatically

Monday 05 June 2006 1:04:55 pm

I use "SJSD WYSIWYG editor based on FCKEditor for ezxmltext" in my site (sjsd extension).

I opend an article, then inserted an image by clicking on "Insert Object" button on sjsd toolbar. "Insert Object" dialog-box appeared with "Loading Related Objects..." message. There is really an related image object.

I waited for loading done. A dialog-box appeared (see the attached image). I clicked OK, then get a message "JSON request error: Service Unavailable (503)".

+ What is JSON?
+ How to setup "JSON"?

Monday 05 June 2006 3:26:33 pm

Do you use CGI php?

please give me the full output of the server response (use firebug)

Tuesday 06 June 2006 8:17:58 am

Hi Nguyen Tien Hy

Please report any bugs in SJSD at it's sourceforge project page, and not in the eZ systems bug tracking system at ( ). eZ systems is not involved in the developement of SJSD.

Thank you!

Wednesday 07 June 2006 3:09:14 am

Hi Liu Spider,

I don't use CGI in PHP. Does SJSD requires CGI?

Wednesday 07 June 2006 3:30:25 am

if you skim through this thread, you should have known that SJSD does not work with CGI

Thursday 08 June 2006 12:12:06 pm


I've tried to install SJSD but it doesn't work. I get a JavaScript error:

"Error: FCKeditor is not defined
Source File:
Line: 396"

I'm logeed in as an administrator, I have emptied the cache both on the server and in the browser. I get the same error in IE and Firefox.

Any ideas?


Thursday 08 June 2006 5:38:11 pm

check whether you can access the FCKeditor in your webserver, directly (you can see the address of it in the source code of the editing page)

Wednesday 14 June 2006 8:51:18 am


this is my firt time to use your extension: it seem to be great.

but it doesn't work with my eZP 3.8 blunk.gif Emoticon

i've several js errors and then i can't see toolbar. so no editor sad.gif Emoticon

Sunday 18 June 2006 11:54:55 am

Same Problem here. Installed it, get the "Enable" button, but then I get JavaScript errors like:

Unknown toolbar item "EZ_Format
... EZ_Link, etc.

Anyone knows how to fix this?


Sunday 18 June 2006 5:51:20 pm

which SJSd version do you use?

the 0.3.x release only works with fckeditor 2.2

Sunday 18 June 2006 8:14:49 pm

Ok, that's it. Thanks a lot. All of you having Javascript errors, use FCKEditor Version 2.2, not the current release 2.3! Now everything works fine.


Monday 19 June 2006 10:47:58 am

Ok with the 0.3.X version, I had the problem with inserting images. (Uploading fails with JS error as already mentioned)

I switched to FCKEditor 2.3 and SVN version 0.4.X, and it works!

Keep on going.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from