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.
		
		
		
		
		
			
		
			
				
					
					
						
							34 lines
						
					
					
						
							1.3 KiB
						
					
					
				
			
		
		
	
	
							34 lines
						
					
					
						
							1.3 KiB
						
					
					
				| (function (global, factory) {
 | |
|   typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core'), require('prosemirror-gapcursor')) :
 | |
|   typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core', 'prosemirror-gapcursor'], factory) :
 | |
|   (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-gapcursor"] = {}, global.core, global.prosemirrorGapcursor));
 | |
| })(this, (function (exports, core, prosemirrorGapcursor) { 'use strict';
 | |
| 
 | |
|   const Gapcursor = core.Extension.create({
 | |
|       name: 'gapCursor',
 | |
|       addProseMirrorPlugins() {
 | |
|           return [
 | |
|               prosemirrorGapcursor.gapCursor(),
 | |
|           ];
 | |
|       },
 | |
|       extendNodeSchema(extension) {
 | |
|           var _a;
 | |
|           const context = {
 | |
|               name: extension.name,
 | |
|               options: extension.options,
 | |
|               storage: extension.storage,
 | |
|           };
 | |
|           return {
 | |
|               allowGapCursor: (_a = core.callOrReturn(core.getExtensionField(extension, 'allowGapCursor', context))) !== null && _a !== void 0 ? _a : null,
 | |
|           };
 | |
|       },
 | |
|   });
 | |
| 
 | |
|   exports.Gapcursor = Gapcursor;
 | |
|   exports["default"] = Gapcursor;
 | |
| 
 | |
|   Object.defineProperty(exports, '__esModule', { value: true });
 | |
| 
 | |
| }));
 | |
| //# sourceMappingURL=tiptap-extension-gapcursor.umd.js.map
 |