# Cannot Edit Blank template in Grapejs GUI-Mautic 6

**URL:** <https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755>\
**Category:** Product Support\
**Created:** [May 29, 2025, 7:58pm UTC](https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755 "2025-05-29T19:58:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![domjag](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/domjag/32/12597_2.png) [@domjag](https://forum.mautic.org/u/domjag)\
**Post date:** [May 29, 2025, 7:58pm UTC](https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755/1 "2025-05-29T19:58:38Z")

</div>

**Your software**  
My Mautic version is: Mautic 6  
My PHP version is: 8.2  
My Database type and version is:10.5.9-MariaDB - MariaDB Server

**Your problem**  
My problem is: Cannot edit email template in Grapejs

These errors are showing in the log: no error in logs

Steps I have tried to fix the problem: Edit in code (this is OK)

Using Mautic 6 I have setup a role called Basic that allows users to edit, create, delete their own segments, email, forms, contacts. But when I try to create and edit the channel email template it does not let me edit it. (I am using BLANK not a custom template). I can edit this as an admin but not as a Basic role user.

 ![EditIssue](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0c129f965608609919db4ff2debb470394c1c909.png)

I have set the Basic role permissions as follows - have I missed something?  
Emails - User has access to  
View Own  
Edit Own  
Create  
Delete Own  
Publish Own

Segments - User has access to  
View Own  
Edit Own  
Create  
Delete Own

If I use the Code section I can edit it and save it but using the gui grapejs (double clicking the section) does not work correctly.

 ![EditIssue2](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b445deb54f6a1a2eb1737c0b7caee92a96152341.png)

---

<div class="post-metadata">

**Author:** ![domjag](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/domjag/32/12597_2.png) [@domjag](https://forum.mautic.org/u/domjag)\
**Post date:** [May 29, 2025, 8:54pm UTC](https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755/2 "2025-05-29T20:54:30Z")

</div>

This issue is related to : [Fix bug with email editor when user doesn't have view other permissions by pjrobertson · Pull Request #13811 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/13811)

The fix for this is here: [Check for null before altering $expr · mautic/mautic@c8c10eb · GitHub](https://github.com/mautic/mautic/commit/c8c10eb8edf0fac57b7ecf03fb29255a01f4a0df)

Not sure why its not included in the latest version.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [May 30, 2025, 11:58am UTC](https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755/3 "2025-05-30T11:58:30Z")

</div>

It’s not in the release because it has multiple tests failing, requires a functional test to make sure the bug doesn’t come back, and hasn’t been reviewed/tested.

Here’s the PR: [Fix bug with email editor when user doesn't have view other permissions by pjrobertson · Pull Request #13811 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/13811)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [May 31, 2025, 11:59pm UTC](https://forum.mautic.org/t/cannot-edit-blank-template-in-grapejs-gui-mautic-6/35755/4 "2025-05-31T23:59:19Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
