Skip to content

Commit

Permalink
remove temporary code
Browse files Browse the repository at this point in the history
  • Loading branch information
NatSquared committed Jun 25, 2024
1 parent c2476f3 commit a57dacf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion met-web/src/components/common/Input/RichTextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const RichTextArea = ({ customDecorators, ...props }: EditorProps) => {
{
// Find all blocks with h2 style and render them using the Header2 component
strategy: (contentBlock: ContentBlock, callback: (start: number, end: number) => void) => {
console.log(contentBlock);
if (!contentBlock) return;
if (contentBlock.getType() === 'header-two') {
callback(contentBlock.getDepth(), contentBlock.getDepth() + contentBlock.getLength());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,7 @@ export const EngagementDescription = () => {
<Suspense fallback={<Skeleton variant="rectangular" sx={{ width: '100%', height: '288px' }} />}>
<Await resolve={engagement}>
{(engagement: Engagement) => (
<BodyText
sx={{
'& .rdw-link-decorator-icon': { display: 'none' },
// '& a': {
// color: colors.surface.white,
// textDecoration: 'underline',
// },
}}
>
<BodyText>
<RichTextArea
toolbarHidden
readOnly
Expand Down

0 comments on commit a57dacf

Please sign in to comment.