Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #797924

    Hello,

    I want to report a bug. If you are in the regular text editor, in the text tab, (dealing with the code itself) and you put this code in –

    
    <ol>
    <!--more-->
    </ol>
    

    Then click on the visual tab, a bunch of other junk is added and it will break the ordered list. For example if you have 1,2,3,4 and you put it between 2 and 3, then it’ll turn into 1,2,1,2. This doesn’t happen with ul or li tags. Just if it’s between ol tags.

    You can see the problem on my website and in the code below – it adds the code that breaks it automatically. You may want to try it for yourself on an enfold test post you make.

    
    <h3>Installing the Operating System</h3>
    <ol>
     	<li style="list-style-type: none;">
    <ol>
     	<li>Download the ISO
    <ul>
     	<li><a href="https://arch-anywhere.org/download">https://arch-anywhere.org/download</a></li>
    </ul>
    </li>
     	<li>Create a bootable usb drive with the iso
    <ul>
     	<li>if you are in ubuntu you can double click on the iso to bring up that prompt</li>
     	<li>if you are in windows you can use rufus <a href="https://rufus.akeo.ie/">https://rufus.akeo.ie</a></li>
    </ul>
    </li>
    </ol>
    </li>
    </ol>
    <!--more-->
    <ol>
     	<li>Boot into the usb drive on the computer/server you are going to install it on</li>
     	<li>type 'arch-anywhere' at the prompt and press enter</li>
    
    • This topic was modified 7 years, 6 months ago by feoleb.
    #797994

    Hey feoleb,

    Have you tried using the code block element to insert this code?

    Best regards,
    Jordan Shannon

    #798334

    Yah it doesn’t work. It’s broken if you stick that code in between <ol></ol> tags.

    • This reply was modified 7 years, 6 months ago by feoleb.
    #798417

    Hi,

    Is this what you are looking to achieve? https://snag.gy/8Vkbw0.jpg

    Best regards,
    Jordan Shannon

    #798539

    Hello Jordan,

    No that list is broken. If you place the more tag in between two ol tags, it breaks the ol tags. It breaks the order. It stops functioning properly. It makes the numbers stop and then start over again from scratch. You can test this for yourself by placing a more tag in between some ol tags in enfold and then viewing the visual tab. It will interrupt the numbers and make them start again. If you look back in the text tab, you can then see all of the additional code that was added that you did not add. It was added automatically and it should be not be.

    Thanks,
    Brendon

    #798553

    Hi,

    The thing is that was done within notepad, so this may not be a bug specific to Enfold. Have you attempted this in a text editor or different theme?

    Best regards,
    Jordan Shannon

    #799610

    Hello,

    Could you test this? You would just have to make a post with a few numbered list items, stick a <!–more–> tag in between two of the numbers, and update the page.

    <ol>
    <li>something1</li>
    <!--more-->
    <li>something2</li>
    </ol>
    

    If it shows numbers 1 and 2, then the problem must be on my end. If it shows 1 and 1, then the problem is with the theme.

    Thanks,

    Brendon

    #799656

    Hi,

    Yes, it displayed correctly on my end. Please see the following:

    https://snag.gy/2iIp4Z.jpg

    Best regards,
    Jordan Shannon

    #799664

    Ok thanks I appreciate it. Must be something on my end

    #799667

    Hi,

    No problem at all. I hope you are able to get this solved, I will leave this thread opened for when and if a solution is found.

    Best regards,
    Jordan Shannon

    #799669

    Actually, did you click on the text tab and then back to the visual tab after setting that up? That’s what breaks it for me. If I insert it via text and then click update, it works. If I insert it via text and then click on the visual tab, it breaks it.

    #799676

    I’ve confirmed this is a problem on different hosting platforms with different versions of enfold. If you put in the code via text, then click visual, it breaks the ordered list.

    If you put this code in via the text tab

    <ol>
    <li>option 1</li>
    <!--more-->
    <li>option 2</li>
    </ol>

    Then click the visual tab you can see it’s broken. If you click back to the text tab, you will now see this code.

    <ol>
     	<li style="list-style-type: none">
    <ol>
     	<li>option 1</li>
    </ol>
    </li>
    </ol>
    <!--more-->
    <ol>
     	<li>option 2</li>
    </ol>
    #799685

    Hi,

    I see now. It does the same thing with the default WordPress as well. Please see for yourself if you haven’t tried already.

    It’s important to note that the Text tab is NOT a code/source/HTML editor. It supports some markup, true, but is not a reliable way to build a page with raw HTML, nor is it intended to be.

    Best regards,
    Jordan Shannon

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.