Skip to content

Commit

Permalink
Fixed issue: Expressions not being properly validated & highlighted i…
Browse files Browse the repository at this point in the history
…n email templates when using 'Validate expression' function

Dev Typo
  • Loading branch information
c-schmitz committed Apr 19, 2020
1 parent abad521 commit 1c35596
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* with LimeReplacementFields and in general use ProtectSource for ExpressionScript
* See https://stackoverflow.com/questions/2851068/prevent-ckeditor-from-formatting-code-in-source-mode
*/
$cript.="CKEDITOR.on('instanceReady', function(event) {
$script.="CKEDITOR.on('instanceReady', function(event) {
event.editor.dataProcessor.writer.setRules( 'br', { breakAfterOpen: 0 } );
});
Expand Down

0 comments on commit 1c35596

Please sign in to comment.