New Landing How can we help? Themeforest Theme Support Dante Automatic formatting and line-break problems.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #74514
    Relter
    Member
    Post count: 50

    Hi,

    I was wondering about some stuff regarding automatic formatting and line-breaks. I don’t know if this got anything to do with this theme or WordPress in general, but for now it’s messing my work-flow while working on a mock-up.

    If I add a picture while in the “Visual” part of edit page, there are both <p> and <h3> styles added automatic (h3 style – probably because of the heading next to the image).
    The problem with this is that I cannot control line-breaks and every time I update the page the content I’ve added appears in one line of text/code in the “text” tab.

    Been trying to add </br> <br> [br] to break the lines, but they all disapears after clicking “update” and like mentioned over, when returning to “edit page” the code is back on one line with <p> and <h3> tags all over the place.

    Attatched screenshots:

    1. This is how the code look after adding a picture into a text-box and then clicking update. (even after removing <p> and <h3> tags first)

    2. How it looks on the front-end.

    #74530
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid all this is down to the way WordPress works, therefore there’s not much we can do for you. However regarding the line breaks, they are stripped out because they are not used. To create a line break in the text editor you just click enter and it goes on to the new line, it will only create a new paragraph in the visual editor

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register