@fileverse-dev/ddoc 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Ddoc Editor
|
2
2
|
|
3
3
|
This repo contains example source code and package code
|
4
4
|
|
@@ -24,7 +24,7 @@ That's it, you should be able to use DdocEditor now
|
|
24
24
|
|
25
25
|
# DdocProps Interface
|
26
26
|
|
27
|
-
The `
|
27
|
+
The `DdocProps` interface is a TypeScript interface that defines the properties for a component related to a page. This interface includes properties for handling preview mode, publishing data, and optional data related to the page's metadata and content.
|
28
28
|
|
29
29
|
## Properties
|
30
30
|
|
@@ -37,7 +37,7 @@ The `DpageProps` interface is a TypeScript interface that defines the properties
|
|
37
37
|
|
38
38
|
## Data Interface
|
39
39
|
|
40
|
-
The `Data` interface defines the structure of the data object that can be passed to the `onPublish` function and optionally included in the `data` property of `
|
40
|
+
The `Data` interface defines the structure of the data object that can be passed to the `onPublish` function and optionally included in the `data` property of `DdocProps`.
|
41
41
|
|
42
42
|
### Properties
|
43
43
|
|
@@ -85,4 +85,4 @@ The `Plugin` interface defines the structure of the plugin information.
|
|
85
85
|
- `npm i`
|
86
86
|
- `npm run dev`
|
87
87
|
|
88
|
-
It will open up a vite server, that will have the
|
88
|
+
It will open up a vite server, that will have the Ddoc Editor
|