diff --git a/packages/ckeditor5-source-editing/theme/sourceediting.css b/packages/ckeditor5-source-editing/theme/sourceediting.css index c7ce48925f1..09ef09bb549 100644 --- a/packages/ckeditor5-source-editing/theme/sourceediting.css +++ b/packages/ckeditor5-source-editing/theme/sourceediting.css @@ -10,7 +10,6 @@ .ck-source-editing-area { display: inline-grid; width: 100%; - font-family: monospace; } .ck-source-editing-area::after, @@ -21,6 +20,7 @@ border: 1px solid transparent; line-height: var(--ck-line-height-base); font-size: var(--ck-font-size-normal); + font-family: monospace; white-space: pre-wrap; }