How to Change Cursor Color in React DOCX Editor

27 Aug 20261 minute to read

The default cursor color of the React DOCX Editor (Document Editor) is black. The user can change the color by overriding the CSS property using the class name. The DOCX Editor cursor CSS has a class named e-de-blink-cursor.

Please refer to the below code snippet to change the cursor color to red.

.e-de-blink-cursor {
border-left: 1px solid red !important;
}

Output will be like below:

Change the cursor color in DOCX Editor