Make drop cursor default to regular caret color
Currently drop cursor defaults to black rather than the text color, which is what normal carets default to. Using `currentcolor` should provide a better default value.
This commit is contained in:
@@ -11,7 +11,7 @@ export const Dropcursor = Extension.create<DropcursorOptions>({
|
||||
name: 'dropCursor',
|
||||
|
||||
defaultOptions: {
|
||||
color: 'black',
|
||||
color: 'currentcolor',
|
||||
width: 1,
|
||||
class: null,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user