Editor in eZ and tables copied from Word

Author Message

Helle Andersen

Thursday 16 August 2007 6:26:54 am

We want to prevent our users from making width in tables and cells in order to make our pages validate at w3c.org. Instead they should use the table classes we have made.
This is of course very easy - all you have to do is disable that the can use width as an option when making tables in the editor in the admin module.
But what we cannot disable is that they make the table in Microsoft Word with cells width etc. and copy paste this table into the editor (or they could disable the editor and write the code themselves).
Is there a way to prevent this ?

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:35:16
Script start
Timing: Jan 19 2025 00:35:16
Module start 'layout'
Timing: Jan 19 2025 00:35:16
Module start 'content'
Timing: Jan 19 2025 00:35:17
Module end 'content'
Timing: Jan 19 2025 00:35:17
Script end

Main resources:

Total runtime0.8482 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0391152.6406
Module start 'layout' 0.00620.0032 740.679739.4609
Module start 'content' 0.00940.8371 780.1406400.2109
Module end 'content' 0.84640.0017 1,180.35168.1406
Script end 0.8481  1,188.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4264160.0002
Check MTime0.00140.1664160.0001
Mysql Total
Database connection0.00070.079810.0007
Mysqli_queries0.811895.7095460.0176
Looping result0.00040.0517440.0000
Template Total0.817096.320.4085
Template load0.00230.265320.0011
Template processing0.814896.065620.4074
Template load and register function0.00030.033710.0003
states
state_id_array0.00130.154110.0013
state_identifier_array0.00100.115720.0005
Override
Cache load0.00180.212470.0003
Sytem overhead
Fetch class attribute can translate value0.00070.084310.0007
Fetch class attribute name0.00090.103310.0009
XML
Image XML parsing0.00010.014110.0001
class_abstraction
Instantiating content class attribute0.00000.003010.0000
General
dbfile0.00060.0723100.0001
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs