Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): reselt default contenteditable outline (#11921)

pengx17cb2c559c6e9d
diff --git a/packages/frontend/component/src/theme/global.css b/packages/frontend/component/src/theme/global.css
index 26fdf86472..ad9ca8f415 100644
--- a/packages/frontend/component/src/theme/global.css
+++ b/packages/frontend/component/src/theme/global.css
@@ -293,3 +293,8 @@ button,
input {
color: inherit;
}
+
+/* Avoid default outline on focus for contenteditable */
+[contenteditable]:focus-visible {
+ outline: none;
+}