Change the cursor color in document editor in EJ2 JavaScript Document editor control

10 May 20231 minute to read

Document Editor default cursor color is black. The user can change the color by overriding the css property using class name. The Document editor cursor css have a class named e-de-blink-cursor.

Please refer 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 document editor