• Hi,

    When I put that code in text editor and I go back to visual editor. The “code” is destroyed.

    Text Editor:

    <ul>
    [expand title="Item One" tag="li"]
    This is some special text to display about item one
    [/expand]
    [expand title="Item Two" tag="li"]
    This is some special text about item two to display
    [/expand]
    [expand title="Item Three" tag="li"]
    Item three also has some special text to be displayed
    [/expand]
    </ul>

    The result after visual editor:

    <ul>
     	<li style="list-style-type: none">
    <ul>[expand title="Item One" tag="li"]</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>This is some special text to display about item one</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>[/expand]</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>[expand title="Item Two" tag="li"]</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>This is some special text about item two to display</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>[/expand]</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>[expand title="Item Three" tag="li"]</ul>
    </li>
    </ul>
    &nbsp;
    <ul>
     	<li style="list-style-type: none">
    <ul>Item three also has some special text to be displayed</ul>
    </li>
    </ul>
    &nbsp;
    <ul>[/expand]</ul>

    What is the solution, expect disabling the visual editor?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author twinpictures

    (@twinpictures)

    wow, that’s strange.
    it sounds like your theme or plugin is doing some wonky things to WordPress’ page editor. Have you tried to troubleshoot the plugins and theme?

    Thread Starter paugustin

    (@paugustin)

    Troubleshoot? I changed nothing in the themes and the pulgins. If that was your question.

    I disabled all the plugins except your, and I still have the issue.

    • This reply was modified 7 years, 5 months ago by paugustin.
    Plugin Author twinpictures

    (@twinpictures)

    deactivate all plugins, does the problem continue?
    if no turn each plugin back on, on one by one and check which one is causing the issue.
    if yes, then switch to a standard twenty-something theme, does the problem continue?
    if no, then contact your theme developer.
    if yes, then there is something very, very strange going on with your setup.

    https://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/

    Thread Starter paugustin

    (@paugustin)

    I desactivated all the plugins -> I still had the issue
    I switch the them to a basic one -> I still had the issue
    I did both -> Still the issue

    I changed the browser (with a basic theme and all the plugins off) -> I still had the issue

    So something is weird.

    Plugin Author twinpictures

    (@twinpictures)

    ok, you’ve piqued our curiosity.

    if you are intrested in us taking a closer look, hit us up at info [blap] twinpictures [blop] de with a link to this thread and we’ll probe a little deeper.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue lists : Text editor -> Visual editor’ is closed to new replies.