@udecode/plate-link
Advanced tools
Comparing version 6.4.1 to 7.0.0
# @udecode/plate-link | ||
## 7.0.0 | ||
## 6.4.1 | ||
@@ -4,0 +6,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { SPEditor } from '@udecode/plate-core'; | ||
import { PlateEditor } from '@udecode/plate-core'; | ||
import { WithLinkOptions } from '../types'; | ||
export declare const getAndUpsertLink: <T extends SPEditor>(editor: T, getLinkUrl?: WithLinkOptions['getLinkUrl']) => Promise<void>; | ||
export declare const getAndUpsertLink: <T = {}>(editor: PlateEditor<T>, getLinkUrl?: WithLinkOptions['getLinkUrl']) => Promise<void>; | ||
//# sourceMappingURL=getAndUpsertLink.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { SPEditor } from '@udecode/plate-core'; | ||
import { PlateEditor } from '@udecode/plate-core'; | ||
/** | ||
@@ -7,3 +7,3 @@ * Unwrap link at a location (default: selection). | ||
*/ | ||
export declare const upsertLinkAtSelection: (editor: SPEditor, { url, wrap, }: { | ||
export declare const upsertLinkAtSelection: (editor: PlateEditor, { url, wrap, }: { | ||
url: string; | ||
@@ -10,0 +10,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { SPEditor } from '@udecode/plate-core'; | ||
import { PlateEditor } from '@udecode/plate-core'; | ||
import { Location } from 'slate'; | ||
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export declare const wrapLink: (editor: SPEditor, { at, url }: { | ||
export declare const wrapLink: (editor: PlateEditor, { at, url }: { | ||
url: string; | ||
@@ -9,0 +9,0 @@ at?: Location | undefined; |
@@ -1,3 +0,2 @@ | ||
import { SPEditor, WithOverride } from '@udecode/plate-core'; | ||
import { ReactEditor } from 'slate-react'; | ||
import { WithOverride } from '@udecode/plate-core'; | ||
import { WithLinkOptions } from './types'; | ||
@@ -13,3 +12,3 @@ /** | ||
*/ | ||
export declare const withLink: ({ isUrl, rangeBeforeOptions, }?: WithLinkOptions) => WithOverride<ReactEditor & SPEditor>; | ||
export declare const withLink: ({ isUrl, rangeBeforeOptions, }?: WithLinkOptions) => WithOverride; | ||
//# sourceMappingURL=withLink.d.ts.map |
{ | ||
"name": "@udecode/plate-link", | ||
"version": "6.4.1", | ||
"version": "7.0.0", | ||
"description": "Link plugin for Plate", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@udecode/plate-common": "6.4.1", | ||
"@udecode/plate-core": "6.4.1", | ||
"@udecode/plate-normalizers": "6.4.1" | ||
"@udecode/plate-common": "7.0.0", | ||
"@udecode/plate-core": "7.0.0", | ||
"@udecode/plate-normalizers": "7.0.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95834
1028
+ Added@udecode/plate-common@7.0.0(transitive)
+ Added@udecode/plate-core@7.0.0(transitive)
+ Added@udecode/plate-normalizers@7.0.0(transitive)
- Removed@udecode/plate-common@6.4.1(transitive)
- Removed@udecode/plate-core@6.4.1(transitive)
- Removed@udecode/plate-normalizers@6.4.1(transitive)
Updated@udecode/plate-common@7.0.0
Updated@udecode/plate-core@7.0.0