The rich text editor does not handle code well at all.
Turn it off. I’ve not had any problems with code in the basic editor.
Admin -> Users -> scroll to bottom left.
personally – when i’m trying to do that sort of thing, i copy the page, paste it into notepad to remove any HTML formatting at all, and then paste it into the editor and use the wysiwyg to add whatever i want back…
or…
go to options -> writing and uncheck the boxes:
WordPress should correct invalidly nested XHTML automatically
and Users should use the visual rich editor by default
Thanks folks. I eventually managed to get something published that was correct, but hey what a struggle! At one stage, WP was placing “strong” opening and closing tags around a highlighted word 30 (yes thirty!) times. Absolutely crazy…
Still, as has been suggested, the solution is to go through the html and painstakingly insert the tags manually. This is a pain, really, because the whole object of a blog is that it should be a tool for instant web-based self-publishing that anyone can indulge in, and knowing what to do with html tags shouldn’t really be part of the equation.
With my own site, the plan is that 6 or 7 contributors with varying abilities should be able to exchange notes and ideas from different locations around the world, and mixed abilities precludes knowledge of even the simplest html. Still, it’s worth persevering! Thanks.
Conclusion: The Rich Text editor is awful and requires urgent attention!!! π
well if you’re using the rich text editor to just enter in a new post, then you can easily (without having to know a bit of code) make text bold, italics, underline, striked-through, aligned in various ways, bulleted or numbered lists, and so on…
the issue you appeared to us as having related to copying and pasting into the rich text editor OR copying the “source” from a site and pasting it into the HTML editor – and you’re right, it kinda sucks that you can’t do that without getting all these strange code format issues – but don’t let that discourage you from the fact that WP IS a great publishing platform for use with people who have limited HTML knowledge – as long as someone who does can set it up for them. π
This is not a problem that is related to copying and pasting html into the WYSIWIG editor. It happens on new, from scratch posts. I am EXTREMELY frustrated by the time it takes to format my posts, especially if they have pictures in them. I have been using the Flickr plugins and have WordPress 2.02. Sometimes I’ll insert a picture, press enter after the picture for a space after it and it will be fine. Then I’ll go back to edit the post and the space under the picture will be removed. So I put it back in and then a DIFFERENT space will disappear. And so it goes, back and forth, until *hopefully* I can get it to look right. One one page I had to resort to putting “hr” under the picture to insert a line so I could get some space between the text and the photo. I tried editing the code itself and for some reason, WordPress always edits it to what it thinks would look the best.
I am loving all of WordPress EXCEPT this inability to insert spaces where I want them. PLEASE help! I agree that this should be something that people should be able to do easily. Put spaces where you want them and keep them? That should be a no-brainer. I’ve experienced a lot of frustration and time-wasting for something that should be so easy.
Sorry for the complaint, but if you didn’t catch it before, I’m so frustrated!! π
And yes, I unchecked “WordPress should correct invalidly nested XHTML automatically.”
Letterknit – yes, like you I find that either checking or unchecking that box makes no difference in certain circumstances, too. I’ve just uploaded two new pages containing images and text formatting, but I’ve (very reluctantly) had to bite the bullet and accept formatting compromises with html tags. It’s far from ideal… but I’ll continue to persevere ‘cos I refuse to be beaten!
Hi! I also have a little problem with RTEs.
I would like to create/modify one in order to have only the “Bold” and “Link” options.I modified a WYSIWIG editor like that but I am having problem with the copy-paste!I don’t want the editor to interpret in HTML my copy+paste.
I mean i want to create/modify an RTE to be like an ordinaty textarea but with bold and link options.
Can someone please help me ???
Thanks