Title: Issue lists : Text editor -&gt; Visual editor
Last modified: October 13, 2017

---

# Issue lists : Text editor -> Visual editor

 *  [paugustin](https://wordpress.org/support/users/paugustin/)
 * (@paugustin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/)
 * 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](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9584313)
 * 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](https://wordpress.org/support/users/paugustin/)
 * (@paugustin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9584328)
 * 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 8 years, 8 months ago by [paugustin](https://wordpress.org/support/users/paugustin/).
 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9585018)
 * 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.
 * [http://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/](http://www.wpbeginner.com/beginners-guide/beginners-guide-to-troubleshooting-wordpress-errors-step-by-step/)
 *  Thread Starter [paugustin](https://wordpress.org/support/users/paugustin/)
 * (@paugustin)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9585065)
 * 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](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9585075)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

## Tags

 * [lists](https://wordpress.org/support/topic-tag/lists/)
 * [visual editor](https://wordpress.org/support/topic-tag/visual-editor/)

 * 5 replies
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/issue-text-editor-visual-editor/#post-9585075)
 * Status: not resolved