Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: the cursor is displayed incorrectly in the presence of bg color (#2218)
Ran Luo84620d44d373
diff --git a/packages/engine-render/src/components/docs/text-selection/text-range.ts b/packages/engine-render/src/components/docs/text-selection/text-range.tsindex 61631c4c76..f8e055e23c 100644--- a/packages/engine-render/src/components/docs/text-selection/text-range.ts+++ b/packages/engine-render/src/components/docs/text-selection/text-range.ts@@ -45,7 +45,7 @@ const ID_LENGTH = 6;const BLINK_ON = 500;const BLINK_OFF = 500;-export const TEXT_RANGE_LAYER_INDEX = 1;+export const TEXT_RANGE_LAYER_INDEX = 3;export function cursorConvertToTextRange(scene: Scene,