From f2fb22a3921b8acc920b61656e481442ebf1c5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Skr=C3=B8vseth?= Date: Thu, 20 Feb 2025 13:58:57 +0100 Subject: [PATCH] Fix Smart Editor list CSS --- frontend/src/plate/components/lists.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/plate/components/lists.tsx b/frontend/src/plate/components/lists.tsx index 99641a450..013ff6545 100644 --- a/frontend/src/plate/components/lists.tsx +++ b/frontend/src/plate/components/lists.tsx @@ -18,6 +18,7 @@ const OrderedListStyle = styled.ol` padding-left: 1em; margin: 0; margin-top: 1em; + list-style-type: decimal; `; export const UnorderedList = ({ children, element, ...props }: PlateElementProps) => ( @@ -35,6 +36,7 @@ const UnorderedListStyle = styled.ul` padding-left: 1em; margin: 0; margin-top: 1em; + list-style-type: disc; `; export const ListItem = ({ children, ...props }: PlateElementProps) => (