Skip to content

Commit

Permalink
perf: editor color
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Jul 25, 2024
1 parent 98d0807 commit 4279f5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ export default function Editor({
}, [value, variables, variableLabels]);

return (
<Box position={'relative'} width={'full'} h={`${height}px`} cursor={'text'}>
<Box
position={'relative'}
width={'full'}
h={`${height}px`}
cursor={'text'}
color={'myGray.700'}
>
<LexicalComposer initialConfig={initialConfig} key={key}>
<PlainTextPlugin
contentEditable={
Expand Down
2 changes: 1 addition & 1 deletion projects/app/src/components/Markdown/img/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ const MdImage = ({ src }: { src?: string }) => {
);
};

export default React.memo(MdImage);
export default MdImage;

0 comments on commit 4279f5e

Please sign in to comment.