@lexical/markdown
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -21,3 +21,2 @@ /** | ||
* | ||
* | ||
*/ | ||
@@ -55,3 +54,2 @@ function indexBy(list, callback) { | ||
* | ||
* | ||
*/ | ||
@@ -205,3 +203,2 @@ function createMarkdownExport(transformers) { | ||
* | ||
* | ||
*/ | ||
@@ -442,3 +439,2 @@ const CODE_BLOCK_REG_EXP = /^```(\w{1,10})?\s?$/; | ||
* | ||
* | ||
*/ | ||
@@ -733,3 +729,2 @@ | ||
* | ||
*/ | ||
@@ -947,3 +942,2 @@ | ||
* | ||
* | ||
*/ | ||
@@ -950,0 +944,0 @@ const ELEMENT_TRANSFORMERS = [HEADING, QUOTE, CODE, UNORDERED_LIST, ORDERED_LIST]; // Order of text format transformers matters: |
@@ -11,14 +11,14 @@ { | ||
"license": "MIT", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"main": "LexicalMarkdown.js", | ||
"peerDependencies": { | ||
"lexical": "0.3.3" | ||
"lexical": "0.3.4" | ||
}, | ||
"dependencies": { | ||
"@lexical/utils": "0.3.3", | ||
"@lexical/code": "0.3.3", | ||
"@lexical/text": "0.3.3", | ||
"@lexical/rich-text": "0.3.3", | ||
"@lexical/list": "0.3.3", | ||
"@lexical/link": "0.3.3" | ||
"@lexical/utils": "0.3.4", | ||
"@lexical/code": "0.3.4", | ||
"@lexical/text": "0.3.4", | ||
"@lexical/rich-text": "0.3.4", | ||
"@lexical/list": "0.3.4", | ||
"@lexical/link": "0.3.4" | ||
}, | ||
@@ -25,0 +25,0 @@ "repository": { |
@@ -25,6 +25,6 @@ # `@lexical/markdown` | ||
```jsx | ||
<LexicalComposer> | ||
<RichTextPlugin initialEditorState={() => { | ||
<LexicalComposer initialEditorState={() => { | ||
$convertFromMarkdownString(markdown, TRANSFORMERS); | ||
}} /> | ||
}}> | ||
<RichTextPlugin /> | ||
</LexicalComposer> | ||
@@ -34,3 +34,3 @@ ``` | ||
## Shortcuts | ||
Can use `<LexicalMarkdownShortcutPlugin>` if using React | ||
Can use `<MarkdownShortcutPlugin>` if using React | ||
```jsx | ||
@@ -41,3 +41,3 @@ import { TRANSFORMERS } from '@lexical/markdown'; | ||
<LexicalComposer> | ||
<LexicalMarkdownShortcutPlugin transformers={TRANSFORMERS} /> | ||
<MarkdownShortcutPlugin transformers={TRANSFORMERS} /> | ||
</LexicalComposer> | ||
@@ -44,0 +44,0 @@ ``` |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
58630
17
1060
1
+ Added@lexical/clipboard@0.3.4(transitive)
+ Added@lexical/code@0.3.4(transitive)
+ Added@lexical/html@0.3.4(transitive)
+ Added@lexical/link@0.3.4(transitive)
+ Added@lexical/list@0.3.4(transitive)
+ Added@lexical/rich-text@0.3.4(transitive)
+ Added@lexical/selection@0.3.4(transitive)
+ Added@lexical/table@0.3.4(transitive)
+ Added@lexical/text@0.3.4(transitive)
+ Added@lexical/utils@0.3.4(transitive)
+ Addedlexical@0.3.4(transitive)
- Removed@lexical/clipboard@0.3.3(transitive)
- Removed@lexical/code@0.3.3(transitive)
- Removed@lexical/html@0.3.3(transitive)
- Removed@lexical/link@0.3.3(transitive)
- Removed@lexical/list@0.3.3(transitive)
- Removed@lexical/rich-text@0.3.3(transitive)
- Removed@lexical/selection@0.3.3(transitive)
- Removed@lexical/table@0.3.3(transitive)
- Removed@lexical/text@0.3.3(transitive)
- Removed@lexical/utils@0.3.3(transitive)
- Removedlexical@0.3.3(transitive)
Updated@lexical/code@0.3.4
Updated@lexical/link@0.3.4
Updated@lexical/list@0.3.4
Updated@lexical/rich-text@0.3.4
Updated@lexical/text@0.3.4
Updated@lexical/utils@0.3.4