Title: Code disappearing in text editor
Last modified: April 5, 2020

---

# Code disappearing in text editor

 *  Resolved [avtechies](https://wordpress.org/support/users/avtechies/)
 * (@avtechies)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-disappearing-in-text-editor/)
 * Greetings,
 * I am trying to display our DoorDash button/link on our website. DoorDash said
   to add this code: I left off the open and close tags
 * a href=”[https://www.doordash.com/business/152677/?utm_source=partner-link&utm_medium=website&utm_campaign=152677&utm_content=red-l&#8221](https://www.doordash.com/business/152677/?utm_source=partner-link&utm_medium=website&utm_campaign=152677&utm_content=red-l&#8221);
   target=”_blank” title=”Order Food Delivery with DoorDash” rel=”noopener noreferrer”
   ><div style=”position: relative; width:289px; height:59px; margin: 0px auto; 
   background-image: url([https://cdn.doordash.com/media/button/button_red_l.svg](https://cdn.doordash.com/media/button/button_red_l.svg));
   color:transparent”>Order Food Delivery with DoorDash</div></a
 * When I do and publish it, it works fine. However if I return to the text editor,
   it removes the a tag, and I end up with this:
    div style=”position: relative;
   width: 289px; height: 59px; margin: 0px; 0px; background-image: url(‘[https://cdn.doordash.com/media/button/button_red_l.svg&#8217](https://cdn.doordash.com/media/button/button_red_l.svg&#8217););
   color: transparent;”>Order Food Delivery with DoorDash</div
 * Any help is greatly appreciated!
    -  This topic was modified 6 years, 2 months ago by [avtechies](https://wordpress.org/support/users/avtechies/).
    -  This topic was modified 6 years, 2 months ago by [avtechies](https://wordpress.org/support/users/avtechies/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcode-disappearing-in-text-editor%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-disappearing-in-text-editor/#post-12630416)
 * [@avtechies](https://wordpress.org/support/users/avtechies/)
 * It should work no problem.
    Are you using the “Text” tab from the Text module?(
   not the Visual one). Also, you could try the HTML module instead of the text 
   one.
 * [https://kb.wpbeaverbuilder.com/article/62-html-module-overview](https://kb.wpbeaverbuilder.com/article/62-html-module-overview)
 *  Thread Starter [avtechies](https://wordpress.org/support/users/avtechies/)
 * (@avtechies)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/code-disappearing-in-text-editor/#post-12631977)
 * Thank you [@corrinarusso](https://wordpress.org/support/users/corrinarusso/)!
   I was using the text tab to no avail. Not sure why it worked for about a month
   then stopped. It works properly using the HTML module. I appreciate your help.
   
   Try adding my full code in this message box. It removes the a tag here as well.

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

The topic ‘Code disappearing in text editor’ is closed to new replies.

 * ![](https://ps.w.org/beaver-builder-lite-version/assets/icon-256x256.png?rev=
   2361183)
 * [Beaver Builder Page Builder - Drag and Drop Website Builder](https://wordpress.org/plugins/beaver-builder-lite-version/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beaver-builder-lite-version/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beaver-builder-lite-version/)
 * [Active Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beaver-builder-lite-version/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beaver-builder-lite-version/reviews/)

## Tags

 * [code disappears](https://wordpress.org/support/topic-tag/code-disappears/)

 * 2 replies
 * 2 participants
 * Last reply from: [avtechies](https://wordpress.org/support/users/avtechies/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/code-disappearing-in-text-editor/#post-12631977)
 * Status: resolved