@milkdown/preset-gfm
Advanced tools
Comparing version 4.6.9 to 4.7.0
# @milkdown/preset-gfm | ||
## 4.7.0 | ||
### Minor Changes | ||
- 804cbb5: Add support for clipboard and collaborative abilities. | ||
### Patch Changes | ||
- Updated dependencies [804cbb5] | ||
- @milkdown/plugin-table@4.7.0 | ||
- @milkdown/preset-commonmark@4.7.0 | ||
- @milkdown/utils@4.7.0 | ||
## 4.6.9 | ||
@@ -4,0 +17,0 @@ |
import { SupportedKeys as TableKeys, tableNodes, tablePlugins } from '@milkdown/plugin-table'; | ||
import { commonmark, SupportedKeys as CommonmarkKeys } from '@milkdown/preset-commonmark'; | ||
import { SupportedKeys as CommonmarkKeys, commonmarkNodes, commonmarkPlugins } from '@milkdown/preset-commonmark'; | ||
import { AtomList } from '@milkdown/utils'; | ||
@@ -8,4 +8,4 @@ import { urlPlugin } from './auto-link'; | ||
export const SupportedKeys = Object.assign(Object.assign(Object.assign({}, CommonmarkKeys), TableKeys), { StrikeThrough: 'StrikeThrough', TaskList: 'TaskList' }); | ||
export const gfmNodes = AtomList.create([...commonmark, ...tableNodes, strikeThrough(), taskListItem()]); | ||
export const gfmPlugins = [...tablePlugins, urlPlugin]; | ||
export const gfmNodes = AtomList.create([...commonmarkNodes, ...tableNodes, strikeThrough(), taskListItem()]); | ||
export const gfmPlugins = [...tablePlugins, ...commonmarkPlugins, urlPlugin]; | ||
export const gfm = [...gfmNodes, ...gfmPlugins]; | ||
@@ -12,0 +12,0 @@ export * from './strike-through'; |
{ | ||
"name": "@milkdown/preset-gfm", | ||
"version": "4.6.9", | ||
"version": "4.7.0", | ||
"main": "lib/index.js", | ||
@@ -20,5 +20,5 @@ "module": "lib/index.js", | ||
"dependencies": { | ||
"@milkdown/utils": "4.6.9", | ||
"@milkdown/plugin-table": "4.6.9", | ||
"@milkdown/preset-commonmark": "4.6.9", | ||
"@milkdown/utils": "4.7.0", | ||
"@milkdown/plugin-table": "4.7.0", | ||
"@milkdown/preset-commonmark": "4.7.0", | ||
"@types/prosemirror-schema-list": "^1.0.3", | ||
@@ -25,0 +25,0 @@ "prosemirror-schema-list": "^1.1.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43547
+ Added@milkdown/plugin-table@4.7.0(transitive)
+ Added@milkdown/preset-commonmark@4.7.0(transitive)
+ Added@milkdown/utils@4.7.0(transitive)
+ Addedmdast-util-definitions@4.0.0(transitive)
+ Addedremark-inline-links@5.0.0(transitive)
+ Addedunist-util-visit@2.0.3(transitive)
- Removed@milkdown/plugin-table@4.6.9(transitive)
- Removed@milkdown/preset-commonmark@4.6.9(transitive)
- Removed@milkdown/utils@4.6.9(transitive)
Updated@milkdown/plugin-table@4.7.0
Updated@milkdown/utils@4.7.0