Forums / Developer / XStandard XHTML (Strict or 1.1) WYSIWYG Editor

XStandard XHTML (Strict or 1.1) WYSIWYG Editor

Author Message

John Smith

Monday 03 April 2006 3:03:20 am

hi there,

Last week I was just exploring xstandard xhtml (strict or 1.1) WYSIWYG Editor. It seems to be very powerful online xhmlt editor.

Is there any chance of integrating this sort of editor with ezpublish. It would be very useful.

The features i liked the most as compared to ezpublish online editor are give below:

1. Supports drag & drop of image files directly into the editor, as well as file browsing.

2. Permits entire folders to be dragged directly into the editor.

3. Automatically inserts image metadata.

4. Automatically inserts image dimensions.

5. Distinguishes between decorative and informative images.

6. Includes a unique "Screen Reader Preview".

7. Requires summaries for data tables.

Or may be this sort of functionality into ezpublish online editor.

Worth looking at it.

Regards
Smith

Bertrand Dunogier

Monday 03 April 2006 3:40:16 am

It could perfectly be done as a contribution _ depending on how the editor is extensible _ but it will never be officially integrated by eZ Systems, due to its licensing scheme. I'm not 100% sure of what freeware means with the Lite version, but that editor looks like a proprietary solution with no opensource licensing.

Feel free to work on it as an extension ;)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

John Smith

Monday 03 April 2006 3:53:00 am

hi Bertrand,

Thanks for your kind reply. I just to know what exactly i have to do if i want to integrate this piece of software with ezpublish. In other words, what is the general way to make extensions.

Thanks

Smith.

Gabriel Ambuehl

Monday 03 April 2006 4:22:15 am

Not entirely the same but likely relevant (and hey, we all like to pimp our extensions) do take a look at http://triligon.org/triligon/blog/blogcategories/node_156

Visit http://triligon.org

John Smith

Monday 03 April 2006 5:20:00 am

Hi Gabriel,

Thanks for updating me. I was testing the online editor on the site url you provided me. But It seems to be very very slow. Am i doing anything wrong. or ?????

Regards
Smith.

Gabriel Ambuehl

Monday 03 April 2006 5:42:33 am

In IE it's quite slow, but in Firefox it's acceptable on my machine (which ain't that fast FWIW)...

It could obviously be made faster by removing some features :)

And the link and image insertion features need better backends which could make them much much faster.

Visit http://triligon.org

John Smith

Monday 03 April 2006 5:53:51 am

hi Gabriel,

To be frank it very very slow in IE. Regarding firefox, first thing pasting with right click mouse does not work, you have to press ctrl-v on the keyboad to paste directly. Pasting images is also not working in firefox.

I think alot of work needs to be done on this editor. What are you thoughts.

Regards
Smith

Gabriel Ambuehl

Monday 03 April 2006 6:27:08 am

It works just fine for my uses. I'll likely fix the image browsing when I get the time, but other than that I'm quite happy with it.

As for copy past in Firefoxe: that's a security "feature" in Firefox which is somewhat hard to circumvent and supporting pasting of images would be rather hard to integrate into ez so I doubt this will ever be supported.

Visit http://triligon.org

Xavier Dutoit

Monday 03 April 2006 6:38:45 am

Hi John,

Thanks for your feed-back. Where you editing a hughe page with ie to find it slow ? On my (very limited) test, it was ok.

As for the image, Gabriel is right, the system has to upload it, store it (likely somewhere under the media folder), relate it to the edited object, decide the size of the embedding and its position... quite a few things that should be done behind this simple paste, isn't it ?

Unfortunately, some of these can't be done automatically without making too much assumption. However, you can add an image with the provided button on the toolbar.
X+

http://www.sydesy.com

John Smith

Monday 03 April 2006 7:13:46 am

Thanks guys for your replies.

Just another general discussion.

I am quite familiar with ezpublish and the online editor because i am using ezpublish for a quite while. I must say it is very powerful content management system. On the other hand i am not much happy with the online editor. Some of the problems which i usally face while uploading the content.

1. Some time if i copy some content from the browser to microsoft word and then from microsoft word to the ez online editor, it inserts <paragraph class="msoNormal"> sort of tag in every paragraph, which i dont why.

2. While uploading the images in an article via "Add Object" button you have to first upload the image and give proper "alternative text". So you can't upload directly with just one click. Very length process.

3. While uploading the images in the "Related objects" section via "Upload new" button you can't specify proper alternative text for images. These days proper alternative text for an image is very necessay to meet the accessiblity issues.

4. You can't drop drag images.

5. No table summary. which is also very important for accessiblity issues.

6. Can't embed image or files inline to text. Only can do left, right, centre.

.....
.......

Points 5, 6 can be easily done. not a problem, but other are a issue at the moment. Hopefully developers of online editor can consider all these ponts.

Regards
Smith

Kirill Subbotin

Monday 03 April 2006 7:43:59 am

2John Smith:

1. This is fixed in OE 4.*

2. Add Object -> Upload new -> Browse... Is it very long?

3. Yes, theoretically you can do it by adding new custom attribute (say 'title') and use it in your template. But I agree, this is not convenient to add attributes every time. Allowed custom attributes list should be set in eZ publish somehow. We will try to improve it.

4. Unfortunately it's impossible with Javascript web editors like OE. (For example XStandard uses ActiveX, so it's a completely another technology)

5. What is a "table summary"? HTML attribute?

6. This can be done in eZp 3.8.0 (currently beta) with the new tag "embed-inline". OE still doesn't support it, but will suppot in the next release.

John Smith

Monday 03 April 2006 8:50:32 am

Hi Subbotin,

Thanks for your kind reply.

Discussing on the basis of points refering to my previous e-mail.

1. I am using online editor version 4.0.2. Still getting paragraph sort of thing sometimes when copy from microsoft word.

2. I can't see any kind of "Upload New" button after clicking "Add Object". What i am getting after clicking "Add Object" is a list of folders where you can browse where the image is. Please correct if i am wrong.

3. When you upload the image by selecting "Image" from the drop list in the "Sub items" section, then it is very fine, you can specify caption, name and alternative text for an image. The only problem comes when you the uploading the image by "Upload new" button, there is no such interface to write down caption, name and alternative text for an image.

4. Xstandard uses ActiveX, I agree we can't have that sort of functionality with javascript but I think this is the point to be consider for our future developments.

5. The summary of a table is never displayed in visual browsers; it is exclusively designed for screen readers and speech browsers. It is exactly what it sounds like: a summary, a longer description than the caption. It is usually read immediately before the caption.

6. Agree.

7. Another point with online editor is when I copy some text from another web browser, it doesnot handle the html special characters very well. For e.g Single quotes. You have to go into the online editor delete that character and type the character again. It should be capable of cleaning and putting them correct.

Regards
Smith

liu spider

Wednesday 05 April 2006 11:33:42 am

about John Smith's discuss point:
5: so how to write that summary in html language?

6: that is possible already in 3.5, as long as you don't mind to edit ini file and add/modify some tpl files

BTW: I am working on an integration of FCKeditor into EZ publish (3.6, now). The prototype is largely working and I just completed the registration in sourceforge (hopes it can get approved).

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

John Smith

Thursday 06 April 2006 12:43:15 am

Regarding summary of table in html:

<table border="1" width="99%" summary="Description about the table and columns">
<tr>
<th></th>
<th></th>

</tr>
<tr>

<td></td>
<td></td>
</tr>
</table>

I checked the fckeditor, seems to be very fast and draging and droping of the objects works in the editor(IE ONLY). The commercial license seems to be quite expensive.

Thanks

Smith

André R.

Thursday 06 April 2006 5:30:51 am

Isn&#8217;t TineMCE a better candidate???
*free, bsd like licence
*small and fast
*customizable ( You can have xhtml 1.1 output if you want)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom