Could not insert blank in the online editor???

Author Message

zfirst zlast

Tuesday 13 January 2009 12:35:01 am

Hi all,

I have a strange problem. When I'm in the admin section, edit some page, i found that i could not input any blanks in the online editor. When I stored the draft, ez cut off all the blanks. The same problem exist when inputing "Enter".

But if the content is pasted from MS-WORD, it works.
Is anybody could tell me a solution ? Or i just need to modify some tags in ini settings for online editor?

zfirst zlast

Tuesday 13 January 2009 12:53:23 am

I checked the ini setting, and found following settings:

[InputSettings]
TrimSpaces=false
AllowMultipleSpaces=true

It solved the "blank" problem, then what about the "enter"?

André R.

Tuesday 13 January 2009 4:22:42 am

content.ini:

[paragraph]
AllowEmpty=true

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

zfirst zlast

Wednesday 14 January 2009 12:16:41 am

3Q, I got it.

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

Main resources:

Total runtime0.8230 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1641152.6406
Module start 'layout' 0.00580.0039 741.804739.4766
Module start 'content' 0.00970.8121 781.2813542.8125
Module end 'content' 0.82180.0012 1,324.093812.1250
Script end 0.8230  1,336.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3846160.0002
Check MTime0.00130.1632160.0001
Mysql Total
Database connection0.00090.107410.0009
Mysqli_queries0.774694.1123600.0129
Looping result0.00060.0707580.0000
Template Total0.786695.620.3933
Template load0.00220.263520.0011
Template processing0.784395.300120.3922
Template load and register function0.00020.019610.0002
states
state_id_array0.00100.118510.0010
state_identifier_array0.00100.127220.0005
Override
Cache load0.00180.2150170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.079420.0003
Fetch class attribute name0.00120.149750.0002
XML
Image XML parsing0.00070.081520.0003
class_abstraction
Instantiating content class attribute0.00000.001750.0000
General
dbfile0.00080.1007170.0000
String conversion0.00000.001540.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
4content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs