var n=globalThis.__LEPTOS_TIPTAP_BRIDGE__;if(n==null||n.modules==null)throw new Error("leptos-tiptap bridge bindings are unavailable");var e=n.modules["@tiptap/core"];if(e==null)throw new Error('leptos-tiptap bridge module "@tiptap/core" is unavailable');var x=e.CommandManager,m=e.Editor,s=e.Extension,k=e.InputRule,b=e.Mark,y=e.Node,E=e.NodePos,h=e.NodeView,f=e.PasteRule,R=e.Tracker,P=e.callOrReturn,C=e.canInsertNode,T=e.combineTransactionSteps,S=e.createChainableState,A=e.createDocument,w=e.createNodeFromContent,O=e.createStyleTag,N=e.defaultBlockAt,B=e.deleteProps,v=e.elementFromString,I=e.escapeForRegEx,M=e.extensions,D=e.findChildren,F=e.findChildrenInRange,j=e.findDuplicates,L=e.findParentNode,K=e.findParentNodeClosestToPos,G=e.fromString,q=e.generateHTML,H=e.generateJSON,z=e.generateText,J=e.getAttributes,U=e.getAttributesFromExtensions,V=e.getChangedRanges,Y=e.getDebugJSON,Q=e.getExtensionField,W=e.getHTMLFromFragment,X=e.getMarkAttributes,Z=e.getMarkRange,$=e.getMarkType,ee=e.getMarksBetween,te=e.getNodeAtPosition,ne=e.getNodeAttributes,oe=e.getNodeType,re=e.getRenderedAttributes,ie=e.getSchema,se=e.getSchemaByResolvedExtensions,le=e.getSchemaTypeByName,ae=e.getSchemaTypeNameByName,de=e.getSplittedAttributes,pe=e.getText,ce=e.getTextBetween,ue=e.getTextContentFromNodes,ge=e.getTextSerializersFromSchema,_e=e.injectExtensionAttributesToParseRule,xe=e.inputRulesPlugin,me=e.isActive,ke=e.isAtEndOfNode,be=e.isAtStartOfNode,ye=e.isEmptyObject,Ee=e.isExtensionRulesEnabled,he=e.isFunction,fe=e.isList,Re=e.isMacOS,Pe=e.isMarkActive,Ce=e.isNodeActive,Te=e.isNodeEmpty,Se=e.isNodeSelection,Ae=e.isNumber,we=e.isPlainObject,Oe=e.isRegExp,Ne=e.isSafari,Be=e.isString,ve=e.isTextSelection,Ie=e.isiOS,Me=e.markInputRule,De=e.markPasteRule,Fe=e.mergeAttributes,je=e.mergeDeep,Le=e.minMax,Ke=e.nodeInputRule,Ge=e.nodePasteRule,qe=e.objectIncludes,He=e.pasteRulesPlugin,ze=e.posToDOMRect,Je=e.removeDuplicates,Ue=e.resolveFocusPosition,Ve=e.rewriteUnknownContent,Ye=e.selectionToInsertionEnd,Qe=e.splitExtensions,We=e.textInputRule,Xe=e.textPasteRule,Ze=e.textblockTypeInputRule,$e=e.wrappingInputRule;var o=globalThis.__LEPTOS_TIPTAP_BRIDGE__;if(o==null||o.modules==null)throw new Error("leptos-tiptap bridge bindings are unavailable");var l=o.modules["@tiptap/pm/dropcursor"];if(l==null)throw new Error('leptos-tiptap bridge module "@tiptap/pm/dropcursor" is unavailable');var a=l.dropCursor;var d=s.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[a(this.options)]}});var p="__LEPTOS_TIPTAP_BRIDGE__";function g(){let t=globalThis,r=t[p];if(r!=null)return r;let i={modules:{},registerExtension:()=>{throw new Error("leptos-tiptap bridge runtime is not initialized")}};return t[p]=i,i}function c(){return g()}function u(t){c().registerExtension(t)}var _={name:"dropcursor",create:()=>d};function pt(){u(_)}export{pt as register_dropcursor};
