SJSD WYSIWYG editor based on FCKEditor for ezxmltext

Author Message

meskini

Friday 28 April 2006 9:31:34 am

Hi liu,

I'm using ez 3.7.5, PHP 4.4.2, sjsd rev 96.

I've two xml block : intro and subject
When the two field are empty i have this message :

Fatal error: Call to a member function on a non-object in /data/hosting/brainguide/pages/extension/sjsd/ezxmltext/handlers/input/sjsdxmlinput.php on line 1015
Fatal error: eZ publish did not finish its request

Thank's for your help.

MESKINI

Paul Forsyth

Friday 28 April 2006 10:22:32 am

Thanks. r96 works for publishing now.

i completely agree about 3.8. I have no expectations other than to test.

paul

liu spider

Friday 28 April 2006 2:28:53 pm

to meskini:
I tried two empty xmltext, no error at all.

please tell me what's the content of the two xmltext by clicking the third last button

about french encoding: I really have no idea why "l'école" will be replaced with "l'&eacute;cole" by fckeditor automatically, just like < will be replace with &lt; by fckeditor. I think é is allowed in html, or isn't it? Anyone has some clues here?

to Paul Forsyth:
3.8 seems to be a more appropriate target for SJSD, because it supports nested inline custom tags (finally). However, as it is still in beta, so now I concentrate on 3.7.

I also implemented a testunit suite to test SJSD xml input handler for 3.8

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 9:12:26 pm

Hello everyone,

just added a new sexy functionality: status bar

It is more advanced than the OE one (again), have a try, and welcome feedbacks/suggestions

I am not good at graphic design, but it seems to me that SJSD definitely needs a logo of its own, could someone contribute one (you will be ackowledged in about dialog (TBD))?

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

Eirik Alfstad Johansen

Monday 01 May 2006 12:25:28 pm

Hi liu,

Great work on the XML editor extension! I've been looking for a replacement for the xmlarea extension to use on more recent versions of eZP, and this seems to be it.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Andrew Clarke

Tuesday 02 May 2006 4:49:07 am

Hi Liu,

Thanks again for the extension.

I've just installed the new release 0.3.0 with my ezPublish 3.7.5 and FCKeditor 2.2 and it works perfectly including inserting images, links, uploading new images etc.

The only issue I've seen is in the custom tag, Factbox. This raises these 2 errors:

Detected unknown tag 'div' removed.

and then:

Error: Can not find the DIV just added.

For me, this is a minor issue as I will probably remove or replace the factbox custom tag anyway. Just FYI.

Andrew Clarke

On another note, if you need some help with coding, I may be able to help depending on my workload at the time. I have some good PHP experience. Let me know. ;-)

liu spider

Tuesday 02 May 2006 7:31:11 am

factbox works fine here, please provide more information about the issue (did you forget to clear server/client cache)

Code contribution (patches) is always welcomed, please use the patch tracker in SF to submit patches, thanks

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

Paul Forsyth

Tuesday 02 May 2006 9:25:59 am

Hi Liu,

Tested using the new 3.8 release from today and i found some image weirdness. When i uploaded a new image and added to the content i dont see the image but text like:

{"align":"center","Custom":[],"view":"embed","size":"reference","object_id":"69","href":"ezobject:\/\/69"}

instead.

Paul

liu spider

Tuesday 02 May 2006 10:45:56 am

if upload a *.bmp file, I can reproduce your issue, but jpg files are ok

this is a bug in ezimagealiashandler, not in SJSD

try to use the eZ built-in upload button to upload a bmp image, it will fail to create any alias as well, that why the alt text is shown in SJSD, because src is empty

filed a bug here: http://ez.no/bugs/view/8206

you may try to enable imagemagick

EDIT: just found out that gd does not support bmp, so this is not a eZ bug, sorry

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

Paul Forsyth

Wednesday 03 May 2006 4:17:09 am

ok. i'll dig around and see if i can find whats causing this for me.

paul

Marko Žmak

Thursday 04 May 2006 3:58:18 pm

I've just installed sjsd extension on my eZ site and it works OK, except that when I write the letter "¦" in it and publish the object, this letter is translated into: "&Scaron". Also "¨" is translated into "&scaron". I tried it both on eZ 3.7 and 3.8, and both on latin2 and utf-8 sites, and the problem is the same.

How can I fix that?

Is this an eZ problem, sjsd problem or FCKeditor problem?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

liu spider

Thursday 04 May 2006 4:33:23 pm

somebody reported the same issue.

those chars are converted to html entities by fckeditor, and I have no idea why it does that or how to prevent it.

I think we need a developer who knows one of those languages (French, for instance) to debug this

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

liu spider

Thursday 04 May 2006 7:34:21 pm

ok, I came up with a workaround, but svn server in sf is down, so I can not commit it right now

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

Marko Žmak

Friday 05 May 2006 1:37:52 am

I fixed the problem by manually editing this files:

./FCKeditor/editor/js/fckeditorcode_gecko_1.js
./FCKeditor/editor/js/fckeditorcode_ie_1.js
./FCKeditor/editor/_source/internals/fckxhtmlentities.js

I just removed the pieces of code where Scaron ans scaron was used:

'&#313; ':'Scaron'
'&#313;&#260;':'scaron'

I don't know why this even exsists here, but now it works for my site that's in Croatian.

Maybe one of the FCKeditor developers would know more about it...

liu, what's your workaround about?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Friday 05 May 2006 2:49:21 am

P.S. After doing this manual change I had to clear the server (eZ) cache and client (browser) cache so that the change would work.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Paul Forsyth

Friday 05 May 2006 7:28:35 am

Thought i'd share another benefit this editor has over the OE: standard keyboard shortcuts work!

For example, to bold text use Ctl-B just as would expect with real document editors. Ctl-I, Ctl-U.

We should enable shortcuts for adding objects/images and so on :)

Paul

liu spider

Friday 05 May 2006 7:48:06 am

to Marko Zmak:
try svn r127, it disables all conversion

to Paul Forsyth:
That's true.
Adding shortcut is trivial, I think

if you have any patches, please submit in our tracker ;)

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

Paul Forsyth

Friday 05 May 2006 10:30:40 am

Heres a patch i found for adding keystrokes from the sourceforge forums:

http://sourceforge.net/tracker/index.php?func=detail&aid=1386276&group_id=75348&atid=543655

I havent tested it but it looks like it is quite trivial to add.

paul

Jeroen Sangers

Tuesday 09 May 2006 4:00:13 am

The ditor looks great, but I have a problem when I try to insert an image. After clicking on the paperclip I receive the following error:

"Returned value is not in valid JSON format: Error: Content is not found or function is not reconganized!"

(it does really say "reconganized")

What can I do?

Kristof Coomans

Tuesday 09 May 2006 4:49:50 am

Did anyone noticed any loss of content with SJSD on eZ publish 3.8.0 while storing/publishing, as described in this bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1484603&group_id=164632&atid=832503 ?

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

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