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.

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

eZ debug

Timing: Jan 18 2025 10:58:23
Script start
Timing: Jan 18 2025 10:58:23
Module start 'layout'
Timing: Jan 18 2025 10:58:23
Module start 'content'
Timing: Jan 18 2025 10:58:24
Module end 'content'
Timing: Jan 18 2025 10:58:24
Script end

Main resources:

Total runtime0.9499 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.2031152.6563
Module start 'layout' 0.00590.0029 740.859439.4922
Module start 'content' 0.00870.9398 780.3516497.6016
Module end 'content' 0.94850.0014 1,277.95318.0781
Script end 0.9499  1,286.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3448160.0002
Check MTime0.00140.1453160.0001
Mysql Total
Database connection0.00070.069610.0007
Mysqli_queries0.903895.1465540.0167
Looping result0.00060.0584520.0000
Template Total0.918096.620.4590
Template load0.00200.206120.0010
Template processing0.916096.429320.4580
Template load and register function0.00010.009710.0001
states
state_id_array0.00100.100310.0010
state_identifier_array0.00170.174020.0008
Override
Cache load0.00160.1710210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.064720.0003
Fetch class attribute name0.00100.105330.0003
XML
Image XML parsing0.00050.056020.0003
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00070.0784160.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs