@lexical/markdown 0.5.0 → 0.5.1-next.1
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/LexicalMarkdown.dev.js +8 -0
- package/package.json +8 -8
package/LexicalMarkdown.dev.js
CHANGED
|
@@ -200,6 +200,14 @@ function hasFormat(node, format) {
|
|
|
200
200
|
*
|
|
201
201
|
*/
|
|
202
202
|
const CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
206
|
+
*
|
|
207
|
+
* This source code is licensed under the MIT license found in the
|
|
208
|
+
* LICENSE file in the root directory of this source tree.
|
|
209
|
+
*
|
|
210
|
+
*/
|
|
203
211
|
const documentMode = CAN_USE_DOM && 'documentMode' in document ? document.documentMode : null;
|
|
204
212
|
CAN_USE_DOM && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
|
|
205
213
|
CAN_USE_DOM && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);
|
package/package.json
CHANGED
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
"markdown"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.5.
|
|
11
|
+
"version": "0.5.1-next.1",
|
|
12
12
|
"main": "LexicalMarkdown.js",
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"lexical": "0.5.
|
|
14
|
+
"lexical": "0.5.1-next.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@lexical/utils": "0.5.
|
|
18
|
-
"@lexical/code": "0.5.
|
|
19
|
-
"@lexical/text": "0.5.
|
|
20
|
-
"@lexical/rich-text": "0.5.
|
|
21
|
-
"@lexical/list": "0.5.
|
|
22
|
-
"@lexical/link": "0.5.
|
|
17
|
+
"@lexical/utils": "0.5.1-next.1",
|
|
18
|
+
"@lexical/code": "0.5.1-next.1",
|
|
19
|
+
"@lexical/text": "0.5.1-next.1",
|
|
20
|
+
"@lexical/rich-text": "0.5.1-next.1",
|
|
21
|
+
"@lexical/list": "0.5.1-next.1",
|
|
22
|
+
"@lexical/link": "0.5.1-next.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|