Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi,

I'm having a problem with the text editor within the couch admin panel.

There doesnt seem to be a width restriction on the text that can be entered, for example if I type a continous line of text it will not drop down to the next line when it reaches the full width of the text box, meaning I get one continuous line of text appear on my web page.

I realise this sounds very fundamental, I have set a width in the CSS div layer concerned, but this is really pickling my brains.

Any ideas?

Many thanks in advance.
When you say 'text editor', do you mean the type 'richtext' editable region which uses CKEditor?

A long, continuous string will not wrap or break when it starts to exceed the width of its container; this is the default behavior. Please take a look at the CSS3 word-wrap property, and specifically the break-word value: https://developer.mozilla.org/en-US/docs/Web/CSS/word-wrap
Thanks cheesypoof

The break-word style worked for me. Think I need to brush up on my css ;)
3 posts Page 1 of 1