eZ Community » Forums » General » How to keep whitespaces entered in a...
expandshrink

How to keep whitespaces entered in a bloc text ?

How to keep whitespaces entered in a bloc text ?

Thursday 08 February 2007 10:10:33 am - 6 replies

Hi,

I have a problem with the bloc text because he don't keep me multiple whitespaces between words.

By example, if I enter "word[space][space][space]word2", the final outpout after saving and display is "word[space]word2" (or "word word2"blunk.gif Emoticon.

Can someone know how to keep this whitespaces ?

Thanks in advance !

Thursday 08 February 2007 11:03:36 am

In override/ezxml.ini.append.php add the followings:
[InputSettings]
TrimSpaces=false
AllowMultipleSpaces=true
Ckear the cache and you are done.... (at least in ezdhtml - for 'pure' text bloc I'n not sure if it's possible).

Modified on Thursday 08 February 2007 11:04:31 am by J-A Eberhard

Thursday 08 February 2007 11:25:42 am

Hi,

Thanks for your help, it works fine with the xml bloc but not with the text bloc.

Maybe I can use the xml bloc, but I have to hide the toolbar because I don't permit users to format the text, insert links, etc.

did you know how to make this ?

Thursday 08 February 2007 1:19:40 pm

The Online Editor is seen as a module in the policy configuration, just don't give them access to it.

Thursday 08 February 2007 2:09:35 pm

In the anonymous role I juste have this :

content  read  Section( Standard )  
content  pdf  Section( Standard )  
user  login  SiteAccess( fr )  
articlerate  toutes les fonctions  Aucune limitation  

So the OE is not specially authorized, and by default, all that is not authorized is prohibited no ?

Moreover, I would want to enable the OE on certain classes, and not on other classes.

Modified on Thursday 08 February 2007 2:10:32 pm by Sébastien Antoniotti

Friday 18 May 2007 4:21:09 pm

Hi,

does anybody know how to avoid the removal of several newlines in a file as well?

Greetings,
Chris.

Tuesday 05 June 2007 6:42:46 am

http://issues.ez.no/8031

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu