@milkdown/core
Advanced tools
Comparing version 4.1.2 to 4.2.0
# @milkdown/core | ||
## 4.2.0 | ||
### Minor Changes | ||
- f614070: Add the ability to configure the commonmark nodes. | ||
## 4.1.2 | ||
@@ -4,0 +10,0 @@ |
@@ -8,3 +8,3 @@ import type { Keymap } from 'prosemirror-commands'; | ||
import { LoadState } from '../constant'; | ||
import { MarkViewFactory } from '../utility'; | ||
import { AnyRecord, MarkViewFactory } from '../utility'; | ||
interface MarkOptional { | ||
@@ -15,3 +15,3 @@ readonly view?: MarkViewFactory; | ||
} | ||
export declare abstract class Mark extends Atom<LoadState.Idle> implements MarkOptional { | ||
export declare abstract class Mark<Options = AnyRecord> extends Atom<LoadState.Idle, Options> implements MarkOptional { | ||
view: MarkOptional['view']; | ||
@@ -18,0 +18,0 @@ keymap: MarkOptional['keymap']; |
@@ -8,3 +8,3 @@ import type { Keymap } from 'prosemirror-commands'; | ||
import { LoadState } from '../constant'; | ||
import { NodeViewFactory } from '../utility'; | ||
import { AnyRecord, NodeViewFactory } from '../utility'; | ||
interface NodeOptional { | ||
@@ -15,3 +15,3 @@ readonly view?: NodeViewFactory; | ||
} | ||
export declare abstract class Node extends Atom<LoadState.Idle> implements NodeOptional { | ||
export declare abstract class Node<Options = AnyRecord> extends Atom<LoadState.Idle, Options> implements NodeOptional { | ||
view: NodeOptional['view']; | ||
@@ -18,0 +18,0 @@ keymap: NodeOptional['keymap']; |
{ | ||
"name": "@milkdown/core", | ||
"version": "4.1.2", | ||
"version": "4.2.0", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "lib/index.js", |
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
105997