@yiitap/vue 1.0.13 → 1.0.14

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yiitap/vue",
3
3
  "description": "A WYSIWYG rich-text block-based editor built on top of tiptap.",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Yiitap",
@@ -58,8 +58,10 @@
58
58
  "lowlight": "^3.3.0",
59
59
  "tippy.js": "^6.3.7",
60
60
  "uuid": "^10.0.0",
61
- "@yiitap/extension-callout": "1.0.13",
62
- "@yiitap/vue": "1.0.13"
61
+ "@yiitap/extension-callout": "1.0.14",
62
+ "@yiitap/extension-color-highlighter": "1.0.14",
63
+ "@yiitap/extension-focus": "1.0.14",
64
+ "@yiitap/vue": "1.0.14"
63
65
  },
64
66
  "peerDependencies": {
65
67
  "@tiptap/core": "^2.11.5",
@@ -1,8 +1,8 @@
1
+ export { default as OColorHighlighter } from '@yiitap/extension-color-highlighter';
2
+ export { default as OFocus } from '@yiitap/extension-focus';
1
3
  export { default as OBlockquote } from './blockquote';
2
4
  export { default as OCallout } from './callout';
3
5
  export { default as OCodeBlock } from './code-block';
4
- export { default as OColorHighlighter } from './color-highlighter';
5
- export { default as OFocus } from './focus';
6
6
  export { default as OHeading } from './heading';
7
7
  export { default as OHorizontalRule } from './horizontal-rule';
8
8
  export { default as OImage } from './image';
@@ -1,21 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare module '@tiptap/core' {
3
- interface Commands<ReturnType> {
4
- callout: {
5
- /**
6
- * Set a callout node
7
- */
8
- setCallout: () => ReturnType;
9
- /**
10
- * Toggle a callout node
11
- */
12
- toggleCallout: () => ReturnType;
13
- /**
14
- * Unset a callout node
15
- */
16
- unsetCallout: () => ReturnType;
17
- };
18
- }
19
- }
20
- declare const _default: Node<any, any>;
21
- export default _default;
@@ -1,3 +0,0 @@
1
- import { Extension } from '@tiptap/core';
2
- declare const OColorHighlighter: Extension<any, any>;
3
- export default OColorHighlighter;
@@ -1,3 +0,0 @@
1
- import { Node } from '@tiptap/pm/model';
2
- import { DecorationSet } from '@tiptap/pm/view';
3
- export declare const findColors: (doc: Node) => DecorationSet;
@@ -1,10 +0,0 @@
1
- /**
2
- * see https://tiptap.dev/docs/editor/api/extensions/focus
3
- */
4
- import { Extension } from '@tiptap/core';
5
- export interface FocusOptions {
6
- className: string;
7
- mode: 'all' | 'deepest' | 'shallowest';
8
- }
9
- declare const Focus: Extension<FocusOptions, any>;
10
- export default Focus;