Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When typing the text of a new post, my text stops halfway the textarea and starts on a new line again. There are no linebreaks after a cut-ff sentence.

When I type a single line of characters the Wordpress starts a new line after 93 characters.

See the attached image to see how it looks.

enter image description here

share|improve this question
1  
If you click the Text tab, are there <br /> tags inserted in the text? If not, this is likely just a style that's applied to the TinyMCE editor textarea to make your text easier to read in the editor view. –  Pat J Jan 6 at 14:07
    
Jup, that was it. But why don't I see any <p> or <br/> tags when on the Text tab? As you can see in the image there are paragraphs shown on the Visual tab. –  Flo Jan 6 at 14:41
    
The Text tab is not a pure HTML representation - by default, single line breaks are converted to <br /> and doubles are converted to <p> on display. –  helenhousandi Jan 6 at 14:56
    
Is there a way to show a sort of Source tab where I can directly manipulate the HTML of the post? The reason I ask, is because when I look in the Wordpress database I don't see the <br/> and <p> tags in the post_content column... –  Flo Jan 6 at 14:58
1  
The Text tab is the HTML view; you can add in <br /> and <p> tags there, and they'll be respected (depending on what your plugins and theme might do with the the_content filter, that is). –  Pat J Jan 6 at 15:09
add comment

1 Answer

Try disabling the visual editor in your User Profile and see if that helps. If it does, disable any plugins - always one of the first troubleshooting tips to try with WordPress - that have anything to do with the editor functions and enable the Visual Editor again and see if the text is still hard wrapping.

And, it's always a good idea to check Developer Tools in your browser, too, to look for any javascript errors that will impact the editor. Use Firebug with Firefox, or use the developer tools in Chrome or Safari or IE

share|improve this answer
    
Commenter on initial post solved it, it was in the CSS, however, I still do not understand why I don't see any <p> or <br/> tags when on the Text tab? As you can see in the image there are paragraphs shown on the Visual tab –  Flo Jan 6 at 14:49
    
@Flo : Paragraph tags are added on display by wpautop. –  s_ha_dum Jan 6 at 15:10
    
Ah, that's unfortunate, since I'm integrating it with an ASP.NET application and doing direct queries to the database. Is there a way for Wordpress to generate these tags at design/edit time instead and have that stored in the database? –  Flo Jan 6 at 15:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.