• I can’t seem to be able to format my text in the WP text editor. When I add italic nothing happens, same thing with h1, h2 etc. When I then add the html <i> and</i> that doesn’t work either. I can see that the editor is making tags when I mark something with my cursor and click the italic button, but it still doesnt get italic when I preview it in different browsers. All in all I think the text editor in WP acts really unstable.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello! What version of WP are you running and what theme are you using? I’ve worked with themes before where the styling was such that it was hard to visually distinguish between regular and italicized text, so it may be a styling issue with your theme.

    Are you having trouble with other formatting tags or just italics? You might want to try using <em> instead of the <i> tag.

    Thread Starter gregersen

    (@gregersen)

    Hi,

    I’m using WP 3.5.1 and I have tried using em tags as well. From time to time the formatting works, so it’s easy to tell if its italic or not. But 8 out of 10 times no text formatting takes affect. I’ve also tried to take out the txt and paste it into notepad to remove all formatting and then paste it back and add formatting but it doesn’t do anything. I have tried to import text from word with formatting as well, nothing happens. I always go to text mode to see if the html tags are set correct by the editor, sometimes when adding italic the editor chooses to use the em attribute, other times it uses the i attribute. When I add my own format tags it doesn’t take effect either.

    I’ve tried everything I can but text formatting in WP seems to be living a life of its own, its really annoying. When it works I can’t really see the reason, cause I don’t do anything different when that happens.

    I’m using the WordPress text editor with no plugins. Im using the theme BlueDiamond by GoodLayers.

    If you are switching between the visual and text editors – that’s likely the problem – it’s a known quirk that it strips code. Annoying yes, but the solution is to not switch between them until you’ve updated/saved the changes.

    Thread Starter gregersen

    (@gregersen)

    Ok WPyogi. Thanks for the tip.

    It’s weird because I enter text mode when it doesn’t work out in the default visual mode, after publishing the post one time to see if the txt is all right – I enter the text mode if its not. So I don’t really switch before I update or save. However I may have done that without thinking of it a small number of times, but that’s not my standard procedure.

    I’ll make sure I’m always in the visual mode in the future before updating the post. I appreciate your advice WPyogi.

    No problem – it’s kinda fussy, but hopefully that will help avoid that. If not, post back so we can see if something else may be going on.

    Thread Starter gregersen

    (@gregersen)

    I’m also having problems with breaks and <p> tags. Its almost impossible to format text in the WP editor, it acts very quirky. Almost like it has a bug or something. Is this something WP has admitted to be problem do you know?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Text formatting’ is closed to new replies.