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.

feat(electron): enable css text autospace (#6218)

EYHN5623c0967c25
diff --git a/packages/frontend/electron/src/main/index.ts b/packages/frontend/electron/src/main/index.ts
index 3a47d268a9..43089abd5b 100644
--- a/packages/frontend/electron/src/main/index.ts
+++ b/packages/frontend/electron/src/main/index.ts
@@ -18,6 +18,8 @@ import { launchStage } from './windows-manager/stage';
app.enableSandbox();
+app.commandLine.appendSwitch('enable-features', 'CSSTextAutoSpace');
+
// use the same data for internal & beta for testing
if (overrideSession) {
const appName = buildType === 'stable' ? 'AFFiNE' : `AFFiNE-${buildType}`;