• I’m trying to cut ‘n paste text from pages of a static HTML site into WP 2.0.2 and I’m having real problems getting the html to “hold” upon publication to the server. Even after tidying up the html, removing class tags and other stuff, and pasting raw html into the text window, I find that it gets completely corrupted when published.

    One particular problem arises from a page that contains several paragraphs, each of which has an emboldened header line – that means a combination of “p” and “strong” opening/closing tags and the odd “br” tag as well. Although everything tends to look OK in preview mode, I find that when I save (publish to server) I’ll have paras that have inherited the strong tags and formatting goes completely out of the window. I’ve sifted through the html with a fine toothcomb and can detect no errors at all.

    The worse thing is that WP seems to litter the page with “strong” opening/closing tags – five or six attached to each instance. Why?

    I’m pretty familiar with html, having coded pages for 6 years or more, and to be honest the Rich Text / HTML editing interface in this new version of WP is taking up three or four times for me to create an acceptably-formatted page than it would as a static html page. I’m seriously wondering whether to persevere with WP or jump ship to something else, to be honest.

    Are there known problems with this interface?

    I’m using Firefox on XP, incidentally.

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    Thread Starter simplycolin

    (@simplycolin)

    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.”

    Thread Starter simplycolin

    (@simplycolin)

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text formatting problems in WP 2.0.2’ is closed to new replies.