Forums / Setup & design / eZ 3.1.0-2 : online editor -> Problem with the 2 modes (enable / disable)

eZ 3.1.0-2 : online editor -> Problem with the 2 modes (enable / disable)

Author Message

laurent le cadet

Sunday 15 June 2003 5:50:43 am

Hi,

When I switch between the two differents modes (enable and disable editor), the tags change :

- image size is set to the default size ("small")
- the table size is set to width='' (none)

If I make a table in a externel editor (dreamweaver) and then copy and paste a table (<html><table><tr>....</html>) most of the tags are removed even in the disable editor mode. (width, bgcolor, cellspadding, rowspan, colspan, etc...). So all the table just look the same. :(

Is there a way to add colours in cells or apply a style to <td> or <tr>.
The editor seems to accept custom tags <td class="mystyle"> but it makes nothing.

The only way I found is to use the differents headers. Is it possible to add more headers or customize them?

Thanks

Wenyue Yu

Tuesday 17 June 2003 1:20:48 am

Hi,

Image size and table width cannot be saved correctly is a bug and will be fixed in final release.
About table editing, what we will support will be
table: class, width, border.
td, th: class, width, colspan, rowspan.

All this attributes should be saved ( could have bugs in beta release ) and other attributes will be removed. Online editor which will be released with 3.1 final has all functions to editor these properties (merge cell, split cell, cell properties window, etc.)
To get special style for td, if you assigned "mystyle" class to it, you need to use override system to match it and created different template for this class, then you can get whatever you want.