Skip to content

Commit d791db2

Browse files
authored
fix(richtext-lexical): lexical-html export (#9793)
### What? `@lexical-html` is missing from the `lexical-proxy` exports. ### Why? To allow `@lexical-html` functionality to be used without needing to install the package separately. ### How? Adds `@lexical-html` to the `lexical-proxy` exports. Fixes #9792
1 parent b0c9b41 commit d791db2

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

packages/richtext-lexical/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"types": "./src/lexical-proxy/@lexical-headless.ts",
5656
"default": "./src/lexical-proxy/@lexical-headless.ts"
5757
},
58+
"./lexical/html": {
59+
"import": "./src/lexical-proxy/@lexical-html.ts",
60+
"types": "./src/lexical-proxy/@lexical-html.ts",
61+
"default": "./src/lexical-proxy/@lexical-html.ts"
62+
},
5863
"./lexical/link": {
5964
"import": "./src/lexical-proxy/@lexical-link.ts",
6065
"types": "./src/lexical-proxy/@lexical-link.ts",
@@ -342,6 +347,7 @@
342347
},
343348
"dependencies": {
344349
"@lexical/headless": "0.20.0",
350+
"@lexical/html": "0.20.0",
345351
"@lexical/link": "0.20.0",
346352
"@lexical/list": "0.20.0",
347353
"@lexical/mark": "0.20.0",
@@ -389,6 +395,7 @@
389395
"@faceless-ui/modal": "3.0.0-beta.2",
390396
"@faceless-ui/scroll-info": "2.0.0-beta.0",
391397
"@lexical/headless": "0.20.0",
398+
"@lexical/html": "0.20.0",
392399
"@lexical/link": "0.20.0",
393400
"@lexical/list": "0.20.0",
394401
"@lexical/mark": "0.20.0",
@@ -443,6 +450,11 @@
443450
"types": "./dist/lexical-proxy/@lexical-headless.d.ts",
444451
"default": "./dist/lexical-proxy/@lexical-headless.js"
445452
},
453+
"./lexical/html": {
454+
"import": "./dist/lexical-proxy/@lexical-html.js",
455+
"types": "./dist/lexical-proxy/@lexical-html.d.ts",
456+
"default": "./dist/lexical-proxy/@lexical-html.js"
457+
},
446458
"./lexical/link": {
447459
"import": "./dist/lexical-proxy/@lexical-link.js",
448460
"types": "./dist/lexical-proxy/@lexical-link.d.ts",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from '@lexical/html'

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)