@fileverse-dev/ddoc 2.4.27 → 2.5.0
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/README.md +0 -21
- package/dist/{ccip-wgyLVE0H.mjs → ccip-CmrvUwBy.mjs} +1 -1
- package/dist/{index-B8kc2a5C.mjs → index-bhLnp2pg.mjs} +25801 -25555
- package/dist/index.es.js +1 -1
- package/dist/package/extensions/default-extension.d.ts +3 -1
- package/dist/package/types.d.ts +0 -1
- package/dist/package/use-ddoc-editor.d.ts +4 -3
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -170,13 +170,6 @@ interface DocumentStyling {
|
|
|
170
170
|
| `onSlidesShare` | `() => void` | Callback for slides sharing |
|
|
171
171
|
| `onComment` | `() => void` | General comment callback |
|
|
172
172
|
|
|
173
|
-
## Pro Features
|
|
174
|
-
|
|
175
|
-
| Property | Type | Description |
|
|
176
|
-
| --------------- | ---------------------------------------------- | ------------------------------------- |
|
|
177
|
-
| `showTOC` | `boolean` | Controls table of contents visibility |
|
|
178
|
-
| `setShowTOC` | `React.Dispatch<SetStateAction<boolean>>` | Function to toggle TOC |
|
|
179
|
-
| `proExtensions` | `{ TableOfContents: any, [key: string]: any }` | Pro feature extensions |
|
|
180
173
|
|
|
181
174
|
## AI Writer Props
|
|
182
175
|
|
|
@@ -194,17 +187,3 @@ interface DocumentStyling {
|
|
|
194
187
|
It will open up a vite server, that will have the Ddoc Editor.
|
|
195
188
|
|
|
196
189
|
⚠️ This repository is currently undergoing rapid development, with frequent updates and changes. We recommend not to use in production yet.
|
|
197
|
-
|
|
198
|
-
## Pro Extensions Setup
|
|
199
|
-
|
|
200
|
-
1. Configure your `.npmrc` with the appropriate registry and authentication token:
|
|
201
|
-
|
|
202
|
-
2. Install the corresponding extension packages:
|
|
203
|
-
|
|
204
|
-
3. Use the extension in your DdocEditor component:
|
|
205
|
-
|
|
206
|
-
```tsx
|
|
207
|
-
proExtensions={{
|
|
208
|
-
TableOfContents
|
|
209
|
-
}}
|
|
210
|
-
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-
|
|
1
|
+
import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-bhLnp2pg.mjs";
|
|
2
2
|
class S extends p {
|
|
3
3
|
constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
|
|
4
4
|
var o;
|