Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #1251217

    Hello,

    In blocks of text I cannot make line breaks.

    When I work in a block of text and make line breaks, once I save my work, the line breaks go away.

    What can be done to fix this problem please.

    Thank you in advance for your help.

    cordially
    Fabrice CHARRIER

    #1251275

    Hey Fabrice,

    Are you entering line breaks like this:

    <br />

    Best regards,
    Jordan Shannon

    #1251368

    Hey Jordan,
    I put line breaks like this: </p>
    And like this: <br />

    But in both cases, when I save the work, both are canceled by the system.
    Thus, there is no more line break.

    #1251691

    Hi,

    Thanks for the update. I can’t reproduce the problem on the page you referred to, please see the text block I added under the first one.

    Best regards,
    Rikard

    #1252466

    I added 3 tests

    Test1 (with 2 line breaks)
    Test2 (with 5 line breaks)
    Test3

    <p> Test1 </p>
    <p> <br /> Test2 </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> Test3 </p>

    But in the result, we see a single line break on the updated page
    So I can’t do more than one line break.

    #1252484

    if you add those tags with custom class they will not be removed!
    <br class="noclear"/>
    same with p-tags

    On Enfold 4.7.6.4 the permanent linebreak seems to exists as a button in the tool-bar
    and it inserts : <br class="avia-permanent-lb" />

    i use for some “extras” this little plugin: https://kriesi.at/support/topic/line-break-not-working-in-front-end/#post-1146117

    #1252656

    Hello Guenni007

    Thanks for the info, but I’m not a programmer and I don’t quite understand how to use all of this.
    I downloaded the plugin but don’t know how to use it.

    Additionally, which I use:
    this: <br class=”noclear”/>
    Or this: <br class=”avia-permanent-lb” />
    it doesn’t work either because the system always removes my line breaks.

    But does all this mean that there is a bug in the Enfold theme?
    And in this case, would it be possible to fix it?
    This is my work :
    [url=https://zupimages.net/viewer.php?id=20/42/o9l0.png][img]https://zupimages.net/up/20/42/o9l0.png[/img][/url]

    After registration :

    Thank you again for your help.

    • This reply was modified 3 years, 7 months ago by Fabrice3.
    #1252680

    Hi,

    Thanks for the update. I’m not sure I understand the problem you are having though, do you want to have more than 1 line break? If so then you might be more comfortable with using the Separator/Whitespace element? Or you can try to add multiple br tags. Make sure that you add them in the text tab in the editor.

    Best regards,
    Rikard

    #1252693

    Hello and thank you for your response.

    I’m actually working on a block of text.
    But when I need to make multiple line breaks, the system refuses them.
    It only accepts a line break.
    All others are deleted.

    This is not normal as I write articles on my blog and normally if I do multiple line breaks I must have more space between the lines.

    What makes the visual more pleasant especially when separating paragraphs.

    Now you suggest that I use the Separator/Whitespace element.
    But I don’t know what it is.
    Can you enlighten me please.

    That being said, I would appreciate not having to do multiple manipulations when I can do only one of course.

    Moreover, even when I add several br tags the system removes them.

    #1252729

    That plugin is if you want to have more than this line-break button – because now Enfold ( or maybe it is a new thing from WP ) shows a button on visible mode:
    can you see this:

    if you click : Enfold will insert the tags itself ( <br class=”avia-permanent-lb” /> ); switch to text mode then you will see what i mean

    #1252736

    That Plugin can help you to have new buttons on that text-editor ( don’t know if it works on block-editor too )
    f.e.:

    #1252836

    Ok great it works.
    Thank you very much Guenni007
    On the other hand the “Visual editor custom buttons” plugin works well on the text editor but not on the block editor.

    #1253004

    Hi Fabrice3,

    Thanks for the update and for sharing your experience. Thanks @guenni007 for helping out as well.

    Best regards,
    Rikard

    #1254202

    So thank you very much,
    Now I use this plugin and it works well.
    Thank you very much for your help hall of you.

    Fabrice

    • This reply was modified 3 years, 7 months ago by Fabrice3.
    #1254223

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1255124

    yes i would need some help again please.
    Because I realize that I have line breaks, but when I use the plugin, and that I use the button that I created, it gives me the space of 2 line breaks instead of ‘a line break.
    So that leaves me too large spaces.

    Inside the text block :
    https://www.dropbox.com/s/nrzo0v6jk3vaikg/2020-10-24_15-53-52.png?dl=0

    After saving the job, here is the result.
    I have 2 spaces when I only clicked the button once to make the line break :
    https://www.dropbox.com/s/wpfn83r6oqgiic7/2020-10-24_12-29-07.png?dl=0

    • This reply was modified 3 years, 6 months ago by Fabrice3.
    #1257329

    Hi,
    Sorry for the very late reply, please link to a test page with your line breaks, I believe that your paragraphs are adding extra padding or margin and can be adjusted with some css.

    Best regards,
    Mike

    #1257536

    Hello Mike,

    This is the test page you asked me : https://formation-mlm-fabrice.com/page-test-line-breaks/

    #1258024

    Hi,
    Thank you, the login you posted earlier seems to be for a different site, so from your test page the <br class="permanent-linebreak"> are followed by another line brake tag:
    2020-11-03_081712.jpg
    So, from my understanding, you are using a custom toolbar button in visual mode to add the <br class="permanent-linebreak"> … at this point are you hitting the [return] key to start a new line?
    This maybe adding the “extra” BR
    If this is not the case, please include an admin login so I can test the workflow of this issue on this test page.

    Best regards,
    Mike

    #1258160

    Hello Mike,

    Indeed, I have two blogs that work with Enfold.
    And I have the same problem on both blogs.

    And I confirm to you that I do not use the return key to start.

    I am indeed using a custom toolbar button.

    I had to do this because using the return key I didn’t have any line breack.
    it did not work.
    Even though I did 10 newlines with the return key, I only had one newline.
    See the job here :
    My work : https://www.dropbox.com/s/62p3r3dcoxriaid/2020-11-03_13-03-50.png?dl=0
    The result : https://www.dropbox.com/s/3mz54k5udcauago/2020-11-03_13-04-12.png?dl=0

    Apparently the problem comes when I use the Advanced Layout Editor
    Is this a beug with enfold?
    In which case it should be reported for a future update.

    I gave you my administrator login.

    #1258605

    Hi,
    Thanks for the login, I tested the first site and found that if I disable the “Keep paragraph tags in the Classic block and the Classic Editor” option in the tinymce advanced options the extra BR is removed:
    2020-11-05_065855.jpg
    Also, I wanted to point out when you use the “button” for the line brake, please do not hit the [return] key.

    Best regards,
    Mike

    #1258965

    ok Mike, it seems to be working well this time around.
    Thank you very much for your help.
    Fabrice

    #1258972

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1266451

    For the moment, no help needed Jordan.
    Thank you

    #1266625

    Hi Fabrice3,

    Ok :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

    #1266626

    Hi,

    Best regards,
    Victoria

Viewing 26 posts - 1 through 26 (of 26 total)
  • The topic ‘Line breaks do not work’ is closed to new replies.