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

Thursday 29 May 2008 2:46:12 pm

Thanks.
I didn't expect such fast answers !!
Mark , do you know where find a example for "can add a class to any normal XML block element that will apply CSS rules when it is presented on the page" ...
Because it's not seems so trivial .

Thursday 29 May 2008 3:03:49 pm

http://ez.no/doc/ez_publish/techn...ini/name_of_xml_tag/availableclasses

Basically you put the custom class in the content ini for the element that you want, then when you are in the online editor, you can click on the element in the status bar (at the bottom of the ezoe window), and you should see the classes that you added in the drop down list.

So, if you added

[paragraph]
AvailableClasses[]
AvailableClasses[]=pRed
AvailableClasses[]=pBlue

like the example in the doc, when it renders your text in the template it will look like this:

<p class='pRed'>My text that I had entered</p>

instead of the default which is just

<p>My text that I had entered</p>

Thursday 29 May 2008 3:46:17 pm

You can also override the tag template (in the above case content/datatype/view/ezxmltags/paragraph.tpl) based on the class. If you want to do more then just style the tag differentially.

Example from ezwebin:

[table_cols]
Source=content/datatype/view/ezxmltags/table.tpl
MatchFile=datatype/ezxmltext/table_cols.tpl
Subdir=templates
Match[classification]=cols

You can also tweak how classes, attributes and custom attributes are handled in OE, for more info read the content.ini file in ezoe/settings.
For instance give a more human readable name on a class:

[paragraph]
# Human-readable aliases for class names that will be displayed
# in the "Class" dropdowns of OE dialog windows.
ClassDescription[pRed]=Red bar

Thursday 29 May 2008 4:22:49 pm

Thanks a lot !!

Friday 30 May 2008 3:57:54 pm

New version out!
There will probably be one more beta before we call it the day, basically nested inline custom tags needs to be fixed and inline custom tags in ie.

Breaking changes:

* Implemented #006730: Online Editor 3.0 does not obey permissions
  Now possible to limit access to editor / relations(upload and embed properties) / search / browse
* use span tags internally for embed-inline tags so they are truly inline and linkable

Bugs / enhancements:

* Fixed bug #012989: Add a loading icon while system is searching (Insert image popup)
* added image preview in search and browse view
* Fixed bug #010888: table caption can't be added though required by WAI level 3
* added support for int / number / email custom attribute types
* added support for custom attribute validation (on email, text, int and number)
* Fixed bug #007384: Incomplete instructions for enabling OE
* Added EditorDialogCSSFileList and html classes in dialogs markup to make them easier to customize
* header level showed as 'undefined' in IE
* Fixed bug #013062: IE specific, editting an embedded image in a custom tag doesn´t work
* viewModes on links didn't work correctly (saved array key index instead of string value)
* Fixed bug #013013: Link with anchor removed on re-edit
* Made sure first valid image attribute is used on embed images
* Implemented #013076: Browse popup: improve image preview
* Implemented #013019: Move "Enable/Disable Editor" button to OE toolbar
* Implemented #009397: Missing OE Toolbar Buttons - #1 - save and #2 - publish
* Implemented #012949: Cannot change the node of an embedded object once it has been added
* properly serialize from checkbox form values to attribute values and back
* Fixed bug #013116: malformatted separator tag
* Fixed bug #013105: Adding a custom tag first locks cursor in the tag
  (also fixed on embed tags)
* Fixed related files in upload dialog not selectable

Thursday 05 June 2008 2:26:30 pm

Hello,

Thank you for this new version, which works very well !
Do you have an estimate date for version 5.0?

Thursday 05 June 2008 10:16:15 pm

I use ezOE on my new website. The URLs genereted by ezoe look like content/view/full/60.
If I edit my link with ezdhtml, I have a nice URL
Is there a solution to have ezoe and nice Urls ?

Friday 06 June 2008 12:18:16 am

> Do you have an estimate date for version 5.0?
When ezp 4.1 is out =)

> Is there a solution to have ezoe and nice Urls ?
I'll look into that, please create a issue for it.

Friday 06 June 2008 7:45:50 am

> @ André R.
> I'll look into that, please create a issue for it.
A have just done it : http://issues.ez.no/IssueView.php?Id=13151&activeItem=1

Modified on Friday 06 June 2008 9:14:05 am by Guillaume Kulakowski

Friday 06 June 2008 5:05:01 pm

Hi, André R.

I need override the tag_link.tpl to add some specail fuction in the linkbox.

how can I active the scrollbar in the popup ?

Thanks a lot.

Modified on Friday 06 June 2008 5:10:30 pm by Bin LIU

Friday 06 June 2008 5:57:49 pm

One observation. There are three alignement: "left", "right" and "center".
"Left" is a float, like "right". "Center" is a text-align=center.
But, there aren't an alignement null...

Wednesday 11 June 2008 12:37:18 pm

> how can I active the scrollbar in the popup ?
Currently you have to hack the ez theme and add 'scrollbars : true,' to the windowManager.open command in _generalXmlTagPopup(). But I'll enable it by default in next version.

>One observation. There are three alignement: "left", "right" and "center".
"Left" is a float, like "right". "Center" is a text-align=center.
> But, there aren't an alignement null...

Float? what version do you use? Recent versions use alignment. Or do you talk about the output from ezwebin / ezflow templates?
Anyway, how does this differ from what you expect / the old editor?

Wednesday 11 June 2008 2:09:05 pm

I spoke about "embed"'s options who use object-left and object-right classes.

Otherwise I just see the template operator ezoescript and ezoecss : very useful, THANKS !

But, why not use a minifier more efficient like JSmin (php version : http://code.google.com/p/jsmin-php)?

Wednesday 11 June 2008 2:41:15 pm

> But, there aren't an alignement null...

I'll look into adding this then, could you add a enhancement issue for it?

> JSmin

The reason where that I was a uncertain about the performance impact. And that I wanted to minify css as well. But I'm open for changing that, will make a standby version in another extension soon, might test out JSmin then.

Wednesday 11 June 2008 3:41:03 pm

> I'll look into adding this then, could you add a enhancement issue for it?
OK

One question: ezoescript and ezoecss template operator are in ezoe extension... But you don't use there operator in ezoe blunk.gif Emoticon ?
Why not make a another extension ?

A little comparison about some JS minifier : http://www.llaumgui.com/post/Opti...ses-javascripts-:-le-cas-de-mootools
- YUI use java
- Packer is more destructive
- JSMIN seems to be a good choice…

Sorry for my english blunk.gif Emoticon

Wednesday 11 June 2008 4:03:55 pm

> But you don't use there operator in ezoe blunk.gif Emoticon ?
It's been in use from day 1, and is the reason why you need rewrite rules in vhost mode:
http://svn.ez.no/svn/extensions/e...ent/datatype/edit/ezxmltext_ezoe.tpl

>A little comparison about some JS minifier
Size isn't my biggest concern, speed is (the overhead of minifying the css/js).

Wednesday 11 June 2008 4:23:15 pm

It's for this reason what I dont't user packer.

Thursday 12 June 2008 10:52:37 am

> how can I active the scrollbar in the popup ?
Currently you have to hack the ez theme and add 'scrollbars : true,' to the windowManager.open command in _generalXmlTagPopup(). But I'll enable it by default in next version.

Thanks a lot !

Thursday 12 June 2008 5:58:46 pm

Haven't you guys had any problems with literal class/tag in the new OE? Has anyone tried to use the built-in literal tag to store PHP/JavaScript/etc code. ?

Friday 13 June 2008 3:54:15 pm

Piotrek: Problems with input (in editor) or output in ezwebin / ezpublish?

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from