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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(editor): improve some experiences on note toolbar (#11413)
fundonfde97dcf78c8
diff --git a/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts b/blocksuite/affine/blocks/block-note/src/configs/toolbar.tsindex 178791643e..dc13d2cefa 100644--- a/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts+++ b/blocksuite/affine/blocks/block-note/src/configs/toolbar.ts@@ -110,8 +110,8 @@ const builtinSurfaceToolbarConfig = {);const label$ = computed(() =>firstModel.props.displayMode$.value === NoteDisplayMode.EdgelessOnly- ? 'Display In Page'- : 'Displayed In Page'+ ? 'Display in Page'+ : 'Displayed in Page');const onSelect = () => {const newMode =@@ -547,7 +547,7 @@ function setDisplayMode(const notification = ctx.std.getOptional(NotificationProvider);notification?.notify({title: data.title,- message: `${data.message}. Find it in the TOC for quick navigation.`,+ message: `${data.message} Find it in the TOC for quick navigation.`,accent: 'success',duration: 5 * 1000,footer: html`<div class=${styles.viewInPageNotifyFooter}>diff --git a/blocksuite/affine/components/src/toolbar/tooltip.ts b/blocksuite/affine/components/src/toolbar/tooltip.tsindex a516ea62b7..99aad4dd5f 100644--- a/blocksuite/affine/components/src/toolbar/tooltip.ts+++ b/blocksuite/affine/components/src/toolbar/tooltip.ts@@ -29,7 +29,7 @@ const styles = css`overflow-wrap: anywhere;white-space: normal;- word-break: break-all;+ word-break: break-word;}.arrow {