@manuscripts/track-changes-plugin 0.0.3 → 0.2.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 CHANGED
@@ -20,9 +20,11 @@ import { trackChangesPlugin } from '@manuscripts/track-changes-plugin'
20
20
 
21
21
  import { schema } from './schema'
22
22
 
23
- const plugins = exampleSetup({ schema }).concat(trackChangesPlugin({
24
- debug: true
25
- }))
23
+ const plugins = exampleSetup({ schema }).concat(
24
+ trackChangesPlugin({
25
+ debug: true,
26
+ })
27
+ )
26
28
  const state = EditorState.create({
27
29
  schema,
28
30
  plugins,
package/dist/actions.d.ts CHANGED
@@ -50,4 +50,4 @@ export declare function getAction<K extends keyof TrackChangesActionParams>(tr:
50
50
  * @param action
51
51
  * @param payload
52
52
  */
53
- export declare function setAction<K extends keyof TrackChangesActionParams>(tr: Transaction, action: K, payload: TrackChangesActionParams[K]): Transaction<any>;
53
+ export declare function setAction<K extends keyof TrackChangesActionParams>(tr: Transaction, action: K, payload: TrackChangesActionParams[K]): Transaction;