PLEASE HELP! paragraph problem!
-
When I’m trying to insert a different paragraph in my < textarea > code. This code: < br /> is always automatically inserted. I was wondering how I can get rid of that. PLEASE HELP! Cause I can’t make the blog work with that feature!
Plus I already tried to unselect the “Formatting: Users should use the visual rich editor by default”, it doesn’t work for textareas.
-
Hello
In the WP admin panel under “Users” there is a seperate checkbox to disable the WYSIWYG editor, that should fix the issue.
Hope it helps! 🙂
um… that still doesn’t work for textarea codes. 🙁 i unselected Use the visual rich editor when writing it didn’t work. those only work for the non-textarea codes… *sigh*
yes, but for my graphic codes, my visitors find them easier to use if I leave spacing in them. But this < br / > wrecks up my CSS codings. Unfortunately wysiwig editing doesn’t work for textareas. Is there anywhere I can disable that feature completely?
if you want, you can visit my site at graphics.neoronic.com/blog i made some testings there with the visual rich editor turned off, but you will still be able to see the < br /> in the textareas
The term textarea is a bit confusing because it is a specific HTML element, used to collect text from a visitor.
To clarify: This isn’t a problem with your posts? Just the text input of visitors (like entering comments, etc.)?
1. I never knew textareas were only used to collect text from visitors. Many graphic websites use textareas to display the coding.
2. Yes, it is a problem with the posts. I need to have spacings, it keeps the code organized and easy to edit. But with < br /> it affects the coding.
Reference: http://www.htmlhelp.com/reference/html40/forms/textarea.html
I suggest you control line/para/character spacing with css and not by using extra linefeeds in the post itself… It will save you trouble in the long run, present less problems when changing themes/styling, and keep your database cleaner.
you mean change the CSS in the layout? i’m kinda new at this, can you show me an example?
I’m afraid I might have misunderstood… Can you clarify: Your issue is NOT with how it looks to a visitor, but how it looks to you while creating/editing the post?
For visitors, then we go to css for styling/spacing, e.g.;
p {
margin-bottom: 1em;
}If it’s just what you see while editing, then I would recommend adjusting your work habit/need for the double-spacing.
ok, my site is for posting graphics and now I’m trying to organize each of my graphic into a post. To make the lives of my visitors easier, I included a textarea for each graphic, so they can pick up the code more conveniently. The problem is, the CSS coding of the graphic has linefeeds that is NEEDED for organization. But wordpress has a problem with adding the < br /> whenever I add an extra linefeed. That is a BIG problem for the CSS for each of my graphic as it wrecks the whole coding. How can I keep the linefeed without the addition of the “br” code?
is that description clearer?
Ok… I included a textarea for each graphic, so they can pick up the code more conveniently. = Get the url to the image on your site…
The problem is, the CSS coding of the graphic has linefeeds that is NEEDED for organization. The
<textarea>box is far too small to see any organization ;’)When I do the following in a post, I do not get a
<br />inserted:
Line one is a boring line about frogs,
but I try to spice it up with a pause...
<1 empty line>
Then segway into frog-legs, creamy-white and sexy.But, if I do this:
Line one is a boring line about frogs,
but I try to spice it up with a pause...
<2 empty lines>
Then segway into frog-legs, creamy-white and sexy.THEN I’ll get a
<br />thrown in there. Are you experiencing similar behavior?Another thing to consider is using
<code>or<pre>. When I use<code>it works effectively while I have the Preserve Code Formatting plugin activated.Hope something here helps, and my apologies for taking so long to wrap my head around it ;’)
The problem is, the CSS coding of the graphic has linefeeds that is NEEDED for organization. The <textarea> box is far too small to see any organization ;’)
lol, that’s true, but the graphics are for the public to use. Therefore, if I don’t have different linefeeds, then they won’t be able to know where to add their stuff in. ( most of them don’t know ANYTHING about codes) You always want the best for your visitors!
Are you experiencing similar behavior?
Yes, I am, textareas are a bit complicated cause when I tried to disable the WYSIWYG editor, it only disables the < br /> that are not IN the textareas. So, basically, I’m stuck with < br /> in those textareas where visitors pick up the codes.
The problem with the < code > or <pre> is that it takes up too much of the page. Cause some of my layouts are VERY long. I want to shrink them into a blog/textarea in my case, so it wouldn’t take up the whole page. But do you think the < code > will still have the < br /> in them if I have linefeeds in my code?`
The topic ‘PLEASE HELP! paragraph problem!’ is closed to new replies.