eZ Community » Forums » Extensions » Call for testers: new Online Editor
expandshrink

Call for testers: new Online Editor

Call for testers: new Online Editor

Saturday 16 February 2008 7:55:45 pm - 303 replies

Hi all!

eZ Publish Online Editor 5.0 is now completed and included in eZ Publish 4.1.x and higher.

Extension:
http://projects.ez.no/ezoe

SVN:
http://svn.projects.ez.no/ezoe/

Issue tracker:
http://issues.ez.no/IssueList.php?ProjectId=4&ClearOk=1
* tag with the version you use, for instance 5.0.1
* mention svn version if you use svn version
* Remember to specify browser/version/os/javascript error
* Screen shoots if it applies

* Updated 6th of May 2009 with new location of extension (project.ez..no/ezoe) and state of extension.

Modified on Tuesday 11 January 2011 10:00:47 am by Nicolas Pastorino

Friday 13 June 2008 4:16:29 pm

André,
At first it's with output, but when editing again, it becomes an input problem blunk.gif Emoticon
I'll try to provide some details over the weekend.

Friday 13 June 2008 5:25:14 pm

Hi,

I used a custom tag on an older version of ezoe, but it doesn't work anymore (last version from SVN)

I had :

[CustomTagSettings]
AvailableCustomTags[]=color
IsInline[color]=true


[color]
ClassDescription[]
CustomAttributes[]=colorchoice
CustomAttributesNames[colorchoice]=Choose your color
CustomAttributeColorchoiceSelections[OERouge]=Red
CustomAttributeColorchoiceSelections[OEOrange]=Orange
CustomAttributeColorchoiceSelections[OERose]=Pink
CustomAttributeColorchoiceSelections[OEVert]=Green
CustomAttributeColorchoiceSelections[OEBleu]=Blue

It seems it changed. If I read the new content.ini, I think I shoud do like this:

[CustomTagSettings]
AvailableCustomTags[]=color
IsInline[color]=true

[color]
CustomAttributes[myselect]=Choose your color


[CustomAttribute_color_myselect]
Name=Choose
Type=select
Selection[]
Selection[OERouge]=Red
Selection[OEOrange]=Orange
Selection[OERose]=Pink
Selection[OEVert]=Green
Selection[OEBleu]=Blue

But it doesn't work either.

Any idea please?

Modified on Friday 13 June 2008 5:25:49 pm by Nicolas Lescure

Friday 13 June 2008 11:53:13 pm

Yes, the content.ini structur has been further cleaned up now.

The first example in content.ini isn't complete, look at the second one:

#[table]
#CustomAttributes[]=summary
#
#[CustomAttribute_table_summary]
#Name=Summary (WAI)
#Required=true

Btw: Do you need a color selector? blunk.gif Emoticon

Modified on Friday 13 June 2008 11:54:41 pm by André R

Saturday 14 June 2008 12:21:47 am

Thanks for your answer. I'll try this asap.

And you're right this is a simple color selector.

**** EDIT : solution ****

OK, here is the new code :

[CustomTagSettings]
AvailableCustomTags[]
AvailableCustomTags[]=color
IsInline[color]=true

[color]
CustomAttributes[]=colorchoice

[CustomAttribute_color_colorchoice]
Name=Choose a color
Type=select
Required=true
Selection[]
Selection[OERouge]=Red
Selection[OEOrange]=Orange
Selection[OERose]=Pink
Selection[OEVert]=Green
Selection[OEBleu]=Blue

The new system is not compatible with the old one. I have to edit the contents and create my tags again.

Modified on Monday 16 June 2008 9:23:41 am by Nicolas Lescure

Monday 16 June 2008 2:28:26 pm

> The new system is not compatible with the old one. I have to edit the contents and create my tags again.

This shouldn't happen, if you first change the ini settings and you clear all cache ( at least ini and template cache) straight after you upgrade, you should be fine.

Friday 20 June 2008 9:17:41 am

With the final ezoe version, will be there all the TinyMCE's button (http://tinymce.moxiecode.com/example_full.php?example=true) ?

Like text-align (left, right, center, justify), fonts (size, family), etc...

Friday 20 June 2008 10:02:29 am

No, it will be more or less as it is now. Where the only tested plugins and buttons are the ones mentioned in ezoe.ini.

The restriction is in eZ Publish, since the storage format is Xml, there is no syntax for font face or size. But it would be possible to have align button, but it would only work on embed images and embed objects since thats the only tags that has an align attribute.

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/xml_tags

Friday 20 June 2008 10:52:58 am

> But it would be possible to have align button, but it would only work on embed
> images and embed objects since thats the only tags that has an align attribute.
Why not text align buttons with class ?
For exemple, the "justify" button add class "justify" to a paragraph, etc...

Tuesday 24 June 2008 8:19:25 am

Hello André,

Here's some simple approach for class attribute based button sets. I've seen that you left some @todo notes for that as well as button list fetch outside of run-once template part. Well, here's the details:
http://ez.ryba.eu/index.php/ez_pu...button_sets_in_new_mce_online_editor

I really hope we can work it out blunk.gif Emoticon

Cheers,
Piotrek

Tuesday 24 June 2008 10:58:10 am

> I really hope we can work it out blunk.gif Emoticon

I think we can, working on cleaning the patches now. Also need to rename it so it isn't a online editor specific setting. The idea is that the xml datatype also can validate input based on this, so I'll move the setting to content.ini or something and add a link when I create a eZ Publish enhancement issue for this.
Just one thing for next time, diff files are a lot easier to deal with then hacked source blunk.gif Emoticon

Wednesday 25 June 2008 3:49:15 pm

Hi !

I have a problem with the Online Editor MCE.
When I try to upload an image, the OE creates an embed object, not an embed image, and so I can't choose the image size, etc...

Can you help me please ?

Wednesday 25 June 2008 5:05:37 pm

OK, I finally found out where was the problem.
It seems that the file upload uses the upload.ini MimeClassMap settings. The problem occurs when you have configured Webdav for massive image upload, with a specific content class...

All I had to do was to add my image content class used in this case to the [MediaClassSettings] / ImageClassIdentifiers setting in ezoe site.ini

Is it possible to fix this ?
Thanks happy.gif Emoticon

Wednesday 25 June 2008 8:45:56 pm

With some great feedback during the conference there is some new features this week in svn:
* custom attributes types now has their own templates so they are easier to override and extend
* added color picker custom attribute type (you need to allow html files from your design folders in your rewrite rules just like the code button)
* added ezoe.ini CustomAttributStyleMap to map custom attributes to a style (so you can preview custom attribute that are used for style directly in the editor)
* added possibility to change the toolbar / path layout (top / bottom / none)
* implemented Piotrek button layout patch but with some modifications, it also contains possibility to set the toolbar / path orientation pr [EditorLayout]

The last point requires a patch that will be part of eZ Publish 4.1 final in some form, the enhancement request with diff and screen shoot from OE with different layouts and class/edit can be found here:
http://issues.ez.no/IssueView.php?Id=13249&activeItem=1

I will pack eZ OE 5.0Beta4 by the end of the week for the ones that don't use svn.

Jérôme:
>Is it possible to fix this ?

What is there to fix? ImageClassIdentifiers?

Wednesday 25 June 2008 11:50:54 pm

implemented Piotrek button layout patch but with some modifications, it also contains possibility to set the toolbar / path orientation pr [EditorLayout]

Great! And backward (4.0.x) compatibility seems maintained. Thanks!

Monday 30 June 2008 10:45:51 am

Hi André,

I'm sorry, I wasn't very clear.
What I find disturbing is that ezoe setting for the content class used when uploading an image is mixed with the one used by WebDav feature. The problem for me is that I would like to use both features...

Could it be possible to use separate settings ?

Monday 30 June 2008 11:12:14 am

Oe 5.0 uses eZ Publish's 'eZContentUpload' class, just like Oe 4.x did and all other upload functionality in eZ Publish does.

Monday 30 June 2008 11:30:52 am

OK
In this case, is it possible to define several possibilities for the content class when uploading an image ?

Thanks

Monday 30 June 2008 11:47:26 am

This is controlled by upload.ini, so you can have several settings depending on the mime type if that is what you mean.

Monday 30 June 2008 11:55:49 am

Yes, you can have several settings depending with the mime type, but you can't have different settings for one mime type, depending on the context (webdav, OE...)

Monday 07 July 2008 2:48:58 pm

Hi, I should put the 'color' setting in which .ini ?
I don't see it in svn.
Thanks

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from