Skip to content

Commit

Permalink
feat(electron): enable css text autospace
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Mar 20, 2024
1 parent fce4484 commit 5c66475
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/frontend/electron/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 5c66475

Please sign in to comment.