Title: Bug &#8211; Email Notification Template not Saving Changes
Last modified: January 3, 2024

---

# Bug – Email Notification Template not Saving Changes

 *  Resolved [Cameron](https://wordpress.org/support/users/cameronatappinlet/)
 * (@cameronatappinlet)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/)
 * On a fresh installation of Sensai LMS, I was tasked to redesign a Email Notification
   Template using the new system for students and teachers to receive customized
   templates in their email.
   Only 1 issue, when editing the templates, none of the
   changes reflect, even though they are saved. I have checked the basics like memory,
   php version, plugin conflicts, even made a fresh installation with ONLY the lMS,
   the problem persists, no errors in the error log that I can see.The changes reflect
   in the edit stage, however they don’t come through onto the preview, or the actual
   email.Any clues here?

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

 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17326356)
 * Hi [@cameronatappinlet](https://wordpress.org/support/users/cameronatappinlet/),
 * Would you share how exactly you’re changing email templates?
 * Are you changing the email templates via the block editor. To do so, please select
   email templates from SenseiLMS > Settings > Emails per this documentation: [https://senseilms.com/documentation/email-notifications/](https://senseilms.com/documentation/email-notifications/)
 * ![](https://d.pr/i/shjeKV+)
 * Screenshot Link: [https://d.pr/i/shjeKV](https://d.pr/i/shjeKV)
 * ![](https://d.pr/i/oQXbJe+)
 * Screenshot Link: [https://d.pr/i/oQXbJe](https://d.pr/i/oQXbJe)
 *  If you are not using the block editor to edit templates, would you share how
   you’re editing them?
 *  Thread Starter [Cameron](https://wordpress.org/support/users/cameronatappinlet/)
 * (@cameronatappinlet)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17334581)
 * Hello Jay!
   Thank you for your reply.I followed the documentation in editing notifications
   by using the block editor as instructed, however the main issue of text and styles
   being unchanged/overridden when viewed in the email or preview, remains.Text 
   align is one of them and text color for some of the elements (Only certain shortcodes).
   If I change the text align in the block editor for the email notifications in
   the exact way you described, it doesn’t reflect.Sensei LMS > Settings > Email
   Notifications > Course Completed > Edit is the way I tried to edit the text.
 *  Plugin Support [Cara](https://wordpress.org/support/users/dcka/)
 * (@dcka)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17350141)
 * [@cameronatappinlet](https://wordpress.org/support/users/cameronatappinlet/) 
   Just responded to your other thread about editing emails from the Sensei LMS 
   settings, but I see you’re already doing that, so apologies if that’s no longer
   relevant!
 * Regarding this particular issue with your edits not reflecting, do you see your
   edits being reverted in the Block Editor at all? Or do they remain in the Block
   Editor, and it’s just not reflecting in the email/preview?
 * Which particular shortcodes have you been having trouble with so we can test 
   this as well?
 *  Thread Starter [Cameron](https://wordpress.org/support/users/cameronatappinlet/)
 * (@cameronatappinlet)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17353945)
 * Hello Cara!
   Thank you for your reply! I was going to reply that I was using the
   editor, and was changing the shortcode on the other thread, I will try show you
   on that thread specifically.With regards to this thread, the edits do sometimes
   reflect in the block editor, but are overridden somehow, and don’t reflect when
   I send the email or do a preview.I have since found a workaround, but a proper
   solution would be great.This is one exampleIf I edit the New Course Assigned 
   email notification template, and change the text to centre align, it will centre
   align in the block editor, but the preview won’t.Same with changing some of the
   colors.Its overridden by email-template.phpWhich I had to add my own edits to
   to fix the issue
 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17384805)
 * Hi [@cameronatappinlet](https://wordpress.org/support/users/cameronatappinlet/),
 * Thank you for the detailed reply and noting that certain edits are not applied
   even when editing the email template (e.g., colors, text align). I could reproduce
   the issue and forwarded it to our product team to better document the email template
   editing process. We’ll circle back with updates.
 * I’m glad to hear that you have found the workaround in the meantime.
 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17394274)
 * Hi [@cameronatappinlet](https://wordpress.org/support/users/cameronatappinlet/),
 * After some deep investigating, our team found a new bug which is in line with
   the issues of editing email templates you reported.
 * We have a[ fix](https://github.com/Automattic/sensei/pull/7463) in place, which
   should be included in the next release!

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

The topic ‘Bug – Email Notification Template not Saving Changes’ is closed to new
replies.

 * ![](https://ps.w.org/sensei-lms/assets/icon-128x128.gif?rev=2914239)
 * [Sensei LMS - Online Courses, Quizzes, & Learning](https://wordpress.org/plugins/sensei-lms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sensei-lms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sensei-lms/)
 * [Active Topics](https://wordpress.org/support/plugin/sensei-lms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sensei-lms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sensei-lms/reviews/)

## Tags

 * [email notification](https://wordpress.org/support/topic-tag/email-notification/)

 * 6 replies
 * 3 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/bluejay77/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/bug-email-notification-template-not-saving-changes/#post-17394274)
 * Status: resolved