Mautic Community Forums

Edit code on email builder

Your software
My Mautic version is: 4.02
My PHP version is: 7.3
My Database type and version is: MySQL 8+

Your problem
My problem is: Cannot edit html code after saving

These errors are showing in the log: None found

Steps I have tried to fix the problem: Not idea how to fix this

I noticed when I start a new email channel and select blank as theme since I use a different application to create a email template and paste the resulting HTML code into the edit code box and save.

When I go back to make change, clicking Edit Code no longer bring up the code editor box. It look like a one time shot only. it seems once it’s save then it can’t be HTML edited again.

Is that expected or a bug?

Can you check in developer tools inspect and look at the console to see what errors might be showing there.

If you try and refresh the page do you get the same behaviour ?

It will work again if I close browser and start with a new browser. I did not think about checking the developer tool … my bad

I will check next time when I encounter this again.

Hi, this is a known bug:

However the fix is ready to be tested if you want to contribute!