Call for testers: new Online Editor

Author Message

John Smith

Tuesday 26 February 2008 2:11:02 am

Hi all,

Thought I must remind you guys - the post, which I posted about 2 years ago. Worth reading as it might help in developing new features in the online editor.

http://ez.no/developer/forum/developer/xstandard_xhtml_strict_or_1_1_wysiwyg_editor

Cheers.

John Smith

André R.

Tuesday 26 February 2008 2:38:39 am

> 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.

This is not possible in a pure javascript editor without flash / java / activeX, eZ Publish have webdav and soon also another option for multiupload that are more suited for this.

> 3. Automatically inserts image metadata.
You should write a enhancement request in the issue tracker where you explain how eZ Publish should use meta data from images while uploading.

> 5. Distinguishes between decorative and informative images.
eZ Publish is all about keeping design and content separate, this is not going to change.

> 7. Requires summaries for data tables.
This can be accomplished with a custom attribute, this will hopefully be standard in eZ Publish 4.1 ( ezwebin 1.4 and ezflow 1.1).

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

Georg Franz

Tuesday 26 February 2008 4:36:56 am

Hi André,

is it possible to create 2 versions of the editor at one installation?

For example:
-) An editor with all features for the admin interface
-) An editor which only allows you formating text and insert links (no embed objects etc.) for the user site

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Piotrek Karaś

Tuesday 26 February 2008 4:48:48 am

<i>This is on the roadmap for future version with the eZ Componets Document component, I might implement a ini based presentation only thing for now if someone wants it, but the idea is to controll this from the class attribute settings. For instance setting a xml field to use bbcode/ wikicode++ instead, if you want to disable relations, tables or custom tags and so on..</i>

Yes, class attribute setting will be the most desirable way, but that's only a place of configuration, as far as I understand. I would also see flexible validation a necessary part of that solution. So that when you are in bbcode or simple XHTML mode, it is not only the interface that limits the options, but the datatype that checks whether given attribute/tag (combination) is allowed or not. Don't you think?

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

André R.

Tuesday 26 February 2008 6:12:58 am

> is it possible to create 2 versions of the editor at one installation?

If you are able to set different eztinymce.ini settings for different siteaccesses, yes.
But it is a bit troublesome because of the ini loading:
http://ez.no/developer/forum/suggestions/ini_priority_vs_extension_settings/re_ini_priority_vs_extension_settings

>So that when you are in bbcode or simple XHTML mode, it is not only the interface that limits the options, but the datatype that checks whether given attribute/tag (combination) is allowed or not. Don't you think?

Yes, that is how it is intended in the eZ Componets version (the datatype needs to validate valid tags depending on setting).

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

Pascal France

Tuesday 26 February 2008 11:35:58 am

Hi André,

I've installed the last 0.94 version where I enabled:

Buttons[]=pagebreak

in extension/eztinymce/settings/eztinymce.ini and enabled:

[CustomTagSettings]
AvailableCustomTags[]=pagebreak

in extension/eztinymce/settings/content.ini.append.php and cleared the caches.

Now, when I click on the oeMCE pagebreak button, a new bleu frame is displayed and the provided html code is (by clicking to the code_desc button):

<p><span class="pagebreak" type="custom" style="display: block;" mce_style="display:block"><p>&nbsp</p></span>

and I cans see:

Chemin: paragraph » custom.pagebreak » paragraph

at the bottom of the oeMCE window.

But any track of this code in the html code of my article displayed in the front-end.

Thanks for your help

Pascal

PS: sorry, I've already posted this post to the web page of this contrib (I hadn't saw this thread).

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Mark Marsiglio

Sunday 02 March 2008 5:38:31 pm

Is browsing for an eznode or ezobject in the link dialog supported yet, or is this just a problem in my installation?

I have to look up the node id and type it in manually.

Otherwise, I love it!

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Mark Marsiglio

Sunday 02 March 2008 5:40:08 pm

Actually - just found this in the 'to do' file...

0.9 (Community Beta)
Ajax Browse support for links
Fix indenting / outdenting

So, is there a projected release date for this feature?

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

André R.

Monday 03 March 2008 1:22:43 am

pascal France:
> But no track of this code in the html code of my article displayed in the front-end.

You need to add a template for it, it's probably a warning in the debug output about missing template. (same goes for underline btw)

> So, is there a projected release date for this feature?

Next week, need to start official beta testing then so it is well tested before final with ezp 4.1.
4.1 is tentatively scheduled for the beginning of q2.

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

Piotrek Karaś

Monday 03 March 2008 3:35:57 am

<i>Next week, need to start official beta testing then so it is well tested before final with ezp 4.1. 4.1 is tentatively scheduled for the beginning of q2.</i>

But the new OE will still remain 4.0 compatible, right?

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

André R.

Monday 03 March 2008 4:59:16 am

> But the new OE will still remain 4.0 compatible, right?

yes!

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

Mark Marsiglio

Monday 03 March 2008 7:34:35 am

I also had a lot of trouble copying and pasting content from the OE into a factbox. My process was to create a factbox custom tag before the beginning of the first paragraph of existing content in an xml block, then copy a paragraph of text from below it, and try to paste it in. Each time, it pasted it outside of the custom tag (outside of the blue box). I was able to type directly into it though.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Pål Messenlien

Monday 03 March 2008 1:33:09 pm

Great work Andre R
I have been running the editor a few days and tested it on several publishers. Everything seems to work smoother now than the first version i tired. There is one thing i noted that might be a bug again. If you have tables created in OE, after editing the page with Tiny you loose class= attribute on the table. This is messy cause eZ seems to default back to class="renderedtable" here. Turning off editor and manual adding class="default" works.

Keep up the great work. I have been waiting years for Tiny to be ported proper to eZ

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

André Dörnbrack

Tuesday 04 March 2008 7:05:46 am

Hi,

I'd tried to use the new OE and found out that it is not possible to select and collapse 2 or more table cells. If you try to select 2 cells the whole table will be marked.

Browser:
firefox 2.0.0.12

cheers,
André

André R.

Wednesday 05 March 2008 3:43:33 am

Mark Marsiglio:
> Pasting to custom tags

Could you try 0.95? I updated TinyMCE to 3.0.3 and a some changes went into the past plugin.
If it is still a problem, is this happening on newly created custom tags or on tags that has been saved (published / saved draft) already? And what kind of tag? (inline / block)

Pål Messenlien:
> class on table removed

fixed in 0.95, this only happened when border where set to 0 (a extra TinyMCE class is added so it is visible)
I have some reports on classes disappearing on other tags as well, but havn't been able to recreate, so keep on testing ;)

André Dörnbrack:
> If you try to select 2 cells the whole table will be marked.

I can not reproduce this, how did you select the cells? did you use the shift or ctrl key while clicking ? Anyway retest in the new version (and remember to press ctrl + f5 on the edit page after the update to be sure the new version is loaded!).

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

Mark Marsiglio

Wednesday 05 March 2008 9:19:47 pm

André R - pasting into the factbox custom tag works now. It was prior to saving or storing draft that I had tested before.

The interface updates look nice...a couple of suggestions -
-the popup for Attach Object needs something with the three choices at the top, maybe some tabs or something? They don't look much like choices at the moment
-Can we control (with overrides, some sort of setting) the visual display of the embedded objects? It shows the name of the object, but it would be pretty nice if we could use override.ini or some other siteaccess design integration to show the embedded object using its actual embed template (i know, I am getting greedy, but I had to ask)
-Is the ability to inject custom css for custom tags and classes implemented yet? If so, where do I specify that CSS?

I see this, but where should the files go, and what is the syntax here:

#[StylesheetSettings]
#EditorCSSFileList[]

Is it eztinymce/design/standard/stylesheets (which does not exist yet)? I found the existing custom.css file that I can edit (design/standard/javascript/themes/ez/skins/o2k7/custom.css) but it does not seem very good to edit that as opposed to include either a css from my site design, or at least a separate file that will survive upgrades.

Thanks
mark

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

André R.

Thursday 06 March 2008 1:48:46 am

> -the popup for Attach Object needs something with the three choices at the top, maybe some tabs or something? They don't look much like choices at the moment

I know.

> -Can we control (with overrides, some sort of setting) the visual display of the embedded objects?

That is supported already, test the editor on the front end in a ezwebin / ezflow site to see highlighted objects, vertical/ horisontal list's and so on.

> -Is the ability to inject custom css for custom tags and classes implemented yet?
> If so, where do I specify that CSS?

Not yet, this is planned for the 1.0 version ( the stable and the official beta versions ).

UPDATE: EditorCSSFileList is now supported, and a bunch of other stuff:
http://svn.ez.no/svn/extensions/eztinymce/trunk/ezoe/

Full changelog:

* this extension is now known as ezoe and not eztinymce
* updated TinyMCE to 3.0.4.1
* added eZOEPacker ('ezoecss' and 'ezoescript' operators), to pack css and js files
* EditorCSSFileList support added
* tinymce plugins from other locations (extensions/designs) now possible
* fixed and enabled indenting / outdenting 
* fixed class not working on p / header / tr / li tags

Note: eZOEPacker stores packed css and js files in the var directory, so
if you test on a setup that uses rewrite rules you need to allow css and
js files from var folder!

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

Tony Wood

Friday 14 March 2008 8:00:43 am

Hi André

I Love This!!! Wow... This is going to really speed up editing for all the editors out there.

We are running it through it's paces for a future project.

One issue that sprang up was the editing of table widths. Is this in the Roadmap?

Thanks for all your hard work. To see the dead of paperclips makes me sing for Joy!!!

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Kristof Coomans

Friday 14 March 2008 8:34:29 am

In case somebody has troubles with ezoe like not seeing the editor field and buttons, check if your Apache serves stylesheet files from var/.../cache/stylesheets. Add this to your rewrite rules:

RewriteRule ^/var/cache/stylesheets/.* - [L]
RewriteRule ^/var/[^/]+/cache/stylesheets/.* - [L]

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

André R.

Friday 14 March 2008 8:52:32 am

Tony:
re Table width issue, what do you mean, and what version are you using (svn or download)?

kc:
Yes, you also need to do the same for javascript files.
I'll update the INSTALL and FAQ file asap..

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

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