diff --git a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/EditorStylesContainer.js b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/EditorStylesContainer.js index bab662f144..2bea849226 100644 --- a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/EditorStylesContainer.js +++ b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/EditorStylesContainer.js @@ -12,6 +12,8 @@ export const EditorStylesContainer = styled.div` height: 290px; color: ${({ theme }) => theme.colors.neutral800}; direction: ltr; + font-family: --apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, + 'Open Sans', 'Helvetica Neue', sans-serif; } /* PADDING */ @@ -331,8 +333,6 @@ export const EditorStylesContainer = styled.div` } span { - font-family: --apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, - 'Open Sans', 'Helvetica Neue', sans-serif; color: ${({ theme }) => theme.colors.neutral800} !important; } `; diff --git a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/tests/index.test.js b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/tests/index.test.js index 491b8c5ee5..aa443458da 100644 --- a/packages/core/admin/admin/src/content-manager/components/Wysiwyg/tests/index.test.js +++ b/packages/core/admin/admin/src/content-manager/components/Wysiwyg/tests/index.test.js @@ -615,6 +615,7 @@ describe('Wysiwyg render and actions buttons', () => { height: 290px; color: #32324d; direction: ltr; + font-family: --apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell, 'Open Sans','Helvetica Neue',sans-serif; } .c32 .CodeMirror-lines { @@ -916,7 +917,6 @@ describe('Wysiwyg render and actions buttons', () => { } .c32 span { - font-family: --apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell, 'Open Sans','Helvetica Neue',sans-serif; color: #32324d !important; }