diff --git a/frontend/appflowy_web_app/src/components/editor/components/element/Element.tsx b/frontend/appflowy_web_app/src/components/editor/components/element/Element.tsx
index 1041490dbe..79cfd15d79 100644
--- a/frontend/appflowy_web_app/src/components/editor/components/element/Element.tsx
+++ b/frontend/appflowy_web_app/src/components/editor/components/element/Element.tsx
@@ -16,7 +16,6 @@ import { Quote } from '@/components/editor/components/blocks/quote';
import { TableBlock, TableCellBlock } from '@/components/editor/components/blocks/table';
import { Text } from '@/components/editor/components/blocks/text';
import { ElementFallbackRender } from '@/components/error/ElementFallbackRender';
-import { Skeleton } from '@mui/material';
import { ErrorBoundary } from 'react-error-boundary';
import { TodoList } from 'src/components/editor/components/blocks/todo-list';
import { ToggleList } from 'src/components/editor/components/blocks/toggle-list';
@@ -25,7 +24,7 @@ import { Formula } from '@/components/editor/components/leaf/formula';
import { Mention } from '@/components/editor/components/leaf/mention';
import { EditorElementProps, TextNode } from '@/components/editor/editor.type';
import { renderColor } from '@/utils/color';
-import React, { FC, memo, Suspense, useMemo } from 'react';
+import React, { FC, memo, useMemo } from 'react';
import { RenderElementProps } from 'slate-react';
import isEqual from 'lodash-es/isEqual';
@@ -126,15 +125,13 @@ export const Element = memo(
}
return (
-
}>
-
-
-
- {children}
-
-
-
-
+
+
+
+ {children}
+
+
+
);
},
(prevProps, nextProps) => isEqual(prevProps.element, nextProps.element)
diff --git a/frontend/appflowy_web_app/src/components/editor/editor.scss b/frontend/appflowy_web_app/src/components/editor/editor.scss
index 69924d1f36..c892aec847 100644
--- a/frontend/appflowy_web_app/src/components/editor/editor.scss
+++ b/frontend/appflowy_web_app/src/components/editor/editor.scss
@@ -197,10 +197,22 @@ span[data-slate-placeholder="true"]:not(.inline-block-content) {
}
.bulleted-icon {
- &:after {
- content: attr(data-letter);
- font-weight: 500;
+ background-repeat: no-repeat;
+ background-size: 16px 16px;
+ background-position: center;
+
+ &.disc {
+ background-image: url('../../assets/bulleted_list_icon_1.svg');
}
+
+ &.circle {
+ background-image: url('../../assets/bulleted_list_icon_2.svg');
+ }
+
+ &.square {
+ background-image: url('../../assets/bulleted_list_icon_3.svg');
+ }
+
}
.numbered-icon {
diff --git a/frontend/appflowy_web_app/src/styles/app.scss b/frontend/appflowy_web_app/src/styles/app.scss
index f69936e2e6..74acc671cc 100644
--- a/frontend/appflowy_web_app/src/styles/app.scss
+++ b/frontend/appflowy_web_app/src/styles/app.scss
@@ -52,12 +52,12 @@ body {
}
.icon {
- font-family: 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Twemoji Mozilla', sans-serif;
+ font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Twemoji Mozilla', sans-serif;
}
.view-icon {
@apply flex w-fit leading-[1.5em] cursor-pointer rounded-lg py-2 text-[1.5em];
- font-family: 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji', 'Twemoji Mozilla', sans-serif;
+ font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Twemoji Mozilla', sans-serif;
line-height: 1em;
white-space: nowrap;
}