# Disable editor

**URL:** https://forum.mautic.org/t/disable-editor/21927
**Category:** Product Support
**Created:** [December 7, 2021, 3:05pm UTC](https://forum.mautic.org/t/disable-editor/21927 "2021-12-07T15:05:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![waskip](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/waskip/32/6414_2.png) [@waskip](https://forum.mautic.org/u/waskip)
#### Post date: [December 7, 2021, 3:05pm UTC](https://forum.mautic.org/t/disable-editor/21927/1 "2021-12-07T15:05:51Z")

</div>

**Your software**  
My Mautic version is: 4.0.0  
My PHP version is: 7.4.3  
My Database type and version is: MariaDB 10.3

How can I disable the editor in Code Mode?  
I want it to send the RAW HTML I paste instead of changing it.

Whenever I paste HTML in Code Mode, the editor convert the inline styles to `id="......."` and this is breaking the email layout in Gmail.

eg.

```auto
<div class="sold-today" style="box-sizing: border-box; font-weight: bold; color: #B81907; margin-bottom: 12px;">🔥 While Stocks Last</div>

```

become

```auto
<div class=sold-today id="iggmrl">🔥 While Stocks Last</div>

```

Thanks
