You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							527 B
						
					
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							527 B
						
					
					
				| import { Extension } from '@tiptap/core';
 | |
| import { dropCursor } from 'prosemirror-dropcursor';
 | |
| 
 | |
| const Dropcursor = Extension.create({
 | |
|     name: 'dropCursor',
 | |
|     addOptions() {
 | |
|         return {
 | |
|             color: 'currentColor',
 | |
|             width: 1,
 | |
|             class: undefined,
 | |
|         };
 | |
|     },
 | |
|     addProseMirrorPlugins() {
 | |
|         return [
 | |
|             dropCursor(this.options),
 | |
|         ];
 | |
|     },
 | |
| });
 | |
| 
 | |
| export { Dropcursor, Dropcursor as default };
 | |
| //# sourceMappingURL=tiptap-extension-dropcursor.esm.js.map
 |