Title: Custom HTML block removing code
Last modified: January 7, 2019

---

# Custom HTML block removing code

 *  Resolved [awald](https://wordpress.org/support/users/awald/)
 * (@awald)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/custom-html-block-removing-code/)
 * I have my site set up to lazy-load images by placing the source into a data-src
   attribute rather than just src. The custom HTML block keeps stripping these out
   and changing them to just src attributes because it says they’re invalid. How
   do I stop this from happening?

Viewing 1 replies (of 1 total)

 *  Thread Starter [awald](https://wordpress.org/support/users/awald/)
 * (@awald)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/custom-html-block-removing-code/#post-11059956)
 * Figured this out on my own…If you resolve the conflicts, copy the code, paste
   it into a different code editor and then paste it back everything went back to
   normal.

Viewing 1 replies (of 1 total)

The topic ‘Custom HTML block removing code’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [awald](https://wordpress.org/support/users/awald/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/custom-html-block-removing-code/#post-11059956)
 * Status: resolved