OE for 3.6.0: prevent insert of <p>-tag inside <td>-tag

Author Message

Patrick Kaiser

Thursday 04 August 2005 6:49:11 am

hi,

i have a problem with the Online Editor i just bought for my site. its the newest version and i'm running ez 3.6.0. when i create a table using the OE and firefox (1.0.6) a <p>-tag is inserted arround the content in every cell. as the result the tables look just terrible, because there is a big margin between each row.

is there a way of disabling the insert of <p>-tags inside a table?

any help on this would be highly appreciated since my customers getting kind of impatient right now...


Best regards,

Patrick

David Eriksson

Thursday 04 August 2005 6:53:14 am

A quick (half-dirty) fix would be to add some CSS.

td p {
    display: inline;
}

You might want to use a class or something, or you might end up breaking the rest of your site. ;)

/David

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 19 2025 00:18:04
Script start
Timing: Jan 19 2025 00:18:04
Module start 'layout'
Timing: Jan 19 2025 00:18:04
Module start 'content'
Timing: Jan 19 2025 00:18:05
Module end 'content'
Timing: Jan 19 2025 00:18:05
Script end

Main resources:

Total runtime0.8035 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.0065 588.0391152.6406
Module start 'layout' 0.00650.0032 740.679739.4766
Module start 'content' 0.00980.7922 780.1563521.3203
Module end 'content' 0.80190.0015 1,301.47668.2813
Script end 0.8034  1,309.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4520160.0002
Check MTime0.00140.1695160.0001
Mysql Total
Database connection0.00070.089210.0007
Mysqli_queries0.756394.1270540.0140
Looping result0.00050.0664520.0000
Template Total0.764295.120.3821
Template load0.00190.241220.0010
Template processing0.762294.867620.3811
Template load and register function0.00010.013810.0001
states
state_id_array0.00080.100610.0008
state_identifier_array0.00100.124120.0005
Override
Cache load0.00150.1908120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.078520.0003
Fetch class attribute name0.00160.198530.0005
XML
Image XML parsing0.00060.080320.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.1015160.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs