@udecode/plate-trailing-block
Advanced tools
Comparing version 38.0.0 to 38.0.1
@@ -1,2 +0,2 @@ | ||
import * as _udecode_plate_common from '@udecode/plate-common'; | ||
import * as _udecode_plate_core from '@udecode/plate-core'; | ||
import { PluginConfig, QueryNodeOptions, ExtendEditor } from '@udecode/plate-common'; | ||
@@ -11,9 +11,9 @@ | ||
/** @see {@link withTrailingBlock} */ | ||
declare const TrailingBlockPlugin: _udecode_plate_common.SlatePlugin<PluginConfig<"trailingBlock", { | ||
declare const TrailingBlockPlugin: _udecode_plate_core.SlatePlugin<PluginConfig<"trailingBlock", { | ||
type: string; | ||
} & { | ||
/** Level where the trailing node should be, the first level being 0. */ | ||
level?: number | undefined; | ||
level?: number; | ||
/** Type of the trailing block */ | ||
type?: string | undefined; | ||
type?: string; | ||
} & QueryNodeOptions, {}, {}>>; | ||
@@ -20,0 +20,0 @@ |
@@ -71,4 +71,4 @@ "use strict"; | ||
var TrailingBlockPlugin = (0, import_plate_common2.createTSlatePlugin)({ | ||
key: "trailingBlock", | ||
extendEditor: withTrailingBlock, | ||
key: "trailingBlock", | ||
options: { | ||
@@ -79,3 +79,3 @@ level: 0 | ||
options: { | ||
type: editor.getType(import_plate_common2.ParagraphPlugin) | ||
type: editor.getType(import_plate_common2.BaseParagraphPlugin) | ||
} | ||
@@ -82,0 +82,0 @@ })); |
{ | ||
"name": "@udecode/plate-trailing-block", | ||
"version": "38.0.0", | ||
"version": "38.0.1", | ||
"description": "Trailing-block plugin for Plate", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@udecode/plate-common": ">=38.0.0", | ||
"@udecode/plate-common": ">=38.0.1", | ||
"react": ">=16.8.0", | ||
@@ -53,0 +53,0 @@ "react-dom": ">=16.8.0", |
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
14643