diff --git a/app/src/js/modules/ckeditor.js b/app/src/js/modules/ckeditor.js
index <HASH>..<HASH> 100644
--- a/app/src/js/modules/ckeditor.js
+++ b/app/src/js/modules/ckeditor.js
@@ -158,6 +158,8 @@
             config.autoGrow_bottomSpace = 24;
             config.removePlugins = 'elementspath';
             config.resize_dir = 'vertical';
+            config.protectedSource.push(/\{\{[\s\S]*?\}\}/g);
+            config.protectedSource.push(/\{\%[\s\S]*?%\}/g);
 
             if (set.filebrowser) {
                 if (set.filebrowser.browseUrl) {
CKEditor: Set twig syntax {{ }} and {% %} as protected