forked from facebook/lexical
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move code logic into @lexical/code (facebook#1554)
* Move code logic into @lexical/code * Fix tests
- Loading branch information
Showing
53 changed files
with
1,028 additions
and
885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
|
||
'use strict'; | ||
|
||
module.exports = require('./dist/LexicalCode.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `@lexical/code` | ||
|
||
This package contains the functionality for the code blocks and code highlighting for Lexical. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "@lexical/code", | ||
"author": { | ||
"name": "Dominic Gannaway", | ||
"email": "dg@domgan.com" | ||
}, | ||
"description": "This package contains the functionality for the code blocks and code highlighting for Lexical.", | ||
"keywords": [ | ||
"lexical", | ||
"editor", | ||
"rich-text", | ||
"code" | ||
], | ||
"license": "MIT", | ||
"version": "0.1.16", | ||
"main": "LexicalCode.js", | ||
"peerDependencies": { | ||
"lexical": "0.1.16" | ||
}, | ||
"dependencies": { | ||
"@lexical/utils": "0.1.16", | ||
"prismjs": "^1.25.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/lexical", | ||
"directory": "packages/lexical-cod" | ||
} | ||
} |
Oops, something went wrong.