Help us to help you!

Our aim is to offer you the best service possible, to do this we need to know: (1.) Joomla! version (2.) Server type (3.) Editor version (4.) Browsers type & Version and any (5.) Error messages you may have, for help in finding this information please - click here…We would also invite you to read our form rules before posting - read more…

Welcome, Guest
Please Login or Register.    Lost Password?

Br doesn't work into the text box
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Br doesn't work into the text box
#763
Br doesn't work into the text box 1 Year, 5 Months ago Karma: 0
The breaking text doesn't work into the text box both of frontend and of backend on FireFox 3.6.8. and Explorer 7 and 8.

For example if I write a long text like this:
Code:


aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa



Automatically the text should go to the second line into the box. But the text goes infinitely to under the text box.
It happens also in backend on FireFox and Explorer. No problem on Chrome and Safari.
campi
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/29 14:13 By Paul.F.
The administrator has disabled public write access.
 
#766
Re:Br doesn't work into the text box 1 Year, 5 Months ago Karma: 20
Hi campi,

Thank you for you post.

I think you will find that your issue is CSS related rather that a bug in your code.

The editor works by writing the code while in WYSIWYG mode, once the code has been written CSS controls how the html is displayed. Browsers can differ on how they interperate CSS so it is common during development for something to look OK in one browsers and broken in another.

Without viewing your templates style-sheets it is impossabile to be sure but the CSS atreburite 'Word-Wrap' maybe the answer you need.

.break-word {
word-wrap: break-word;
}

I have found a topic on your issue which i hope will be of asistance to you, please see: www.webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap/

Take care,

P
Paul.F
Administrator
Posts: 1045
graph
User Online Now Click here to see the profile of this user
Gender: Male webxsolution.com Location: London Birthday: 12/09
Last Edit: 2010/08/29 14:16 By Paul.F.
If you use JoomlaCK Editor, please post a review at the Joomla! Extensions Directory.
The administrator has disabled public write access.
 
#770
Re:Br doesn't work into the text box 1 Year, 5 Months ago Karma: 0
Thank you. I needed exactly this.
I put ".break-word {word-wrap: break-word;}" into my template's Css.But I have one question:

To apply to all CK Editor(targets), which files do I have to put the following lines in?:

<p class="break-word"> long text</p>

Thank you
campi
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#772
Re:Br doesn't work into the text box 1 Year, 5 Months ago Karma: 0
It isn't working;(

I put the line {word-wrap: break-word;} into my template called theme.css.
And then I set up to use "custom template.css" inserting the pass to this css file from CK Editor plugin.
I seem I correctly set up but it doesn't work.

What is wrong?
campi
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#773
Re:Br doesn't work into the text box 1 Year, 5 Months ago Karma: 20
Hi campi,

Sorry to hear that.

As I mentioned before “it is impossible to be sure” there are many factors involved – it could be your html code but it is impossible to know without actually seeing what you are trying to do. Either way - some browsers have determined that your code should not break while other seam for more forgiving.

Maybe if you added a fixed width to your class and used overflow:auto; it might be another way of getting around your issue.

However, it doesn’t sound like an issue with the editor and our support is really tailored to that.

Thanks


P
Paul.F
Administrator
Posts: 1045
graph
User Online Now Click here to see the profile of this user
Gender: Male webxsolution.com Location: London Birthday: 12/09
If you use JoomlaCK Editor, please post a review at the Joomla! Extensions Directory.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Paul.F, awills