PHP 8.2.30
Preview: index.umd.js Size: 1.52 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@tiptap/extension-gapcursor/dist/index.umd.js

(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core'), require('@tiptap/pm/gapcursor')) :
  typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core', '@tiptap/pm/gapcursor'], factory) :
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-gapcursor"] = {}, global.core, global.gapcursor));
})(this, (function (exports, core, gapcursor) { 'use strict';

  /**
   * This extension allows you to add a gap cursor to your editor.
   * A gap cursor is a cursor that appears when you click on a place
   * where no content is present, for example inbetween nodes.
   * @see https://tiptap.dev/api/extensions/gapcursor
   */
  const Gapcursor = core.Extension.create({
      name: 'gapCursor',
      addProseMirrorPlugins() {
          return [
              gapcursor.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=index.umd.js.map

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
902 B lrw-r--r-- 2026-02-28 00:28:00
Edit Download
539 B lrw-r--r-- 2026-02-28 00:27:14
Edit Download
1.05 KB lrw-r--r-- 2026-02-28 00:26:34
Edit Download
1.93 KB lrw-r--r-- 2026-02-28 00:27:24
Edit Download
137 B lrw-r--r-- 2026-02-28 00:28:08
Edit Download
189 B lrw-r--r-- 2026-02-28 00:27:32
Edit Download
992 B lrw-r--r-- 2026-02-28 00:26:44
Edit Download
1.86 KB lrw-r--r-- 2026-02-28 00:27:36
Edit Download
1.52 KB lrw-r--r-- 2026-02-28 00:26:54
Edit Download
1.94 KB lrw-r--r-- 2026-02-28 00:27:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).