Skip to content

Commit

Permalink
style: no italic styling for language annotated text in CKEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Nov 24, 2022
1 parent a2cb612 commit 47f9cd9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const Wrapper = styled(Box)`
width: 100%;
}
}
.ck-content span[lang] {
/* undo italic styling from CK Editor */
font-style: inherit !important;
}
`;
function Editor({ onChange, name, value, disabled }) {
const [productPrice, setProductPrice] = React.useState([]);
Expand Down

1 comment on commit 47f9cd9

@vercel
Copy link

@vercel vercel bot commented on 47f9cd9 Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.