@tiptap/extension-highlight 2.0.0-beta.17 → 2.0.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,3 +3,4 @@ export { Commands } from './commands';
3
3
  export { Editable } from './editable';
4
4
  export { FocusEvents } from './focusEvents';
5
5
  export { Keymap } from './keymap';
6
+ export { Tabindex } from './tabindex';
@@ -0,0 +1,2 @@
1
+ import { Extension } from '../Extension';
2
+ export declare const Tabindex: Extension<unknown>;
@@ -1,5 +1,6 @@
1
1
  import { Node } from '@tiptap/core';
2
2
  export interface HardBreakOptions {
3
+ keepMarks: boolean;
3
4
  HTMLAttributes: Record<string, any>;
4
5
  }
5
6
  declare module '@tiptap/core' {
@@ -73,7 +73,7 @@ const Highlight = core.Mark.create({
73
73
  });
74
74
 
75
75
  exports.Highlight = Highlight;
76
- exports['default'] = Highlight;
76
+ exports["default"] = Highlight;
77
77
  exports.inputRegex = inputRegex;
78
78
  exports.pasteRegex = pasteRegex;
79
79
  //# sourceMappingURL=tiptap-extension-highlight.cjs.js.map
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
3
3
  typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-highlight'] = {}, global.core));
5
- }(this, (function (exports, core) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-highlight"] = {}, global.core));
5
+ })(this, (function (exports, core) { 'use strict';
6
6
 
7
7
  const inputRegex = /(?:^|\s)((?:==)((?:[^~]+))(?:==))$/gm;
8
8
  const pasteRegex = /(?:^|\s)((?:==)((?:[^~]+))(?:==))/gm;
@@ -73,11 +73,11 @@
73
73
  });
74
74
 
75
75
  exports.Highlight = Highlight;
76
- exports['default'] = Highlight;
76
+ exports["default"] = Highlight;
77
77
  exports.inputRegex = inputRegex;
78
78
  exports.pasteRegex = pasteRegex;
79
79
 
80
80
  Object.defineProperty(exports, '__esModule', { value: true });
81
81
 
82
- })));
82
+ }));
83
83
  //# sourceMappingURL=tiptap-extension-highlight.umd.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/extension-highlight",
3
3
  "description": "highlight extension for tiptap",
4
- "version": "2.0.0-beta.17",
4
+ "version": "2.0.0-beta.18",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -28,5 +28,5 @@
28
28
  "url": "https://github.com/ueberdosis/tiptap",
29
29
  "directory": "packages/extension-highlight"
30
30
  },
31
- "gitHead": "41dddb0fcded5c03b4d629c003f85d015da5c6ce"
31
+ "gitHead": "27a1acab5c3c72ec02d63ecb0a44649600a76ec7"
32
32
  }