@@ -148,7 +148,7 @@ export default class HtmlEmbedEditing extends Plugin {
const textareaAttributes = {
placeholder,
disabled: true,
- class: 'ck ck-input ck-input-text raw-html-embed__source'
+ class: 'ck ck-reset ck-input ck-input-text raw-html-embed__source'
};
// The editing raw HTML field.
@@ -44,6 +44,11 @@
min-width: 0;
padding: var(--ck-spacing-standard);
+ font-family: monospace;
+ tab-size: 4;
+ white-space: pre-wrap;
+ font-size: var(--ck-font-size-base); /* Safari needs this. */
+
&[disabled] {
background: hsl(0deg 0% 97%);
color: hsl(0deg 0% 56%);