-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@lexical/devtools): Added TreeView rendering instead of a simple…
… textarea
- Loading branch information
Showing
24 changed files
with
668 additions
and
75 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
80 changes: 80 additions & 0 deletions
80
packages/lexical-devtools/src/entrypoints/devtools-panel/App.css
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,80 @@ | ||
pre { | ||
line-height: 1.1; | ||
background: #222; | ||
color: #fff; | ||
margin: 0; | ||
padding: 10px; | ||
font-size: 12px; | ||
overflow: auto; | ||
max-height: 400px; | ||
} | ||
|
||
.tree-view-output { | ||
display: block; | ||
background: #222; | ||
color: #fff; | ||
padding: 0; | ||
font-size: 12px; | ||
margin: 1px auto 10px auto; | ||
position: relative; | ||
overflow: hidden; | ||
border-radius: 10px; | ||
} | ||
|
||
.debug-timetravel-panel { | ||
overflow: hidden; | ||
padding: 0 0 10px 0; | ||
margin: auto; | ||
display: flex; | ||
} | ||
|
||
.debug-timetravel-panel-slider { | ||
padding: 0; | ||
flex: 8; | ||
} | ||
|
||
.debug-timetravel-panel-button { | ||
padding: 0; | ||
border: 0; | ||
background: none; | ||
flex: 1; | ||
color: #fff; | ||
font-size: 12px; | ||
} | ||
|
||
.debug-timetravel-panel-button:hover { | ||
text-decoration: underline; | ||
cursor: pointer; | ||
} | ||
|
||
.debug-timetravel-button { | ||
border: 0; | ||
padding: 0; | ||
font-size: 12px; | ||
top: 10px; | ||
right: 15px; | ||
position: absolute; | ||
background: none; | ||
color: #fff; | ||
} | ||
|
||
.debug-timetravel-button:hover { | ||
text-decoration: underline; | ||
cursor: pointer; | ||
} | ||
|
||
.debug-treetype-button { | ||
border: 0; | ||
padding: 0; | ||
font-size: 12px; | ||
top: 10px; | ||
right: 85px; | ||
position: absolute; | ||
background: none; | ||
color: #fff; | ||
} | ||
|
||
.debug-treetype-button:hover { | ||
text-decoration: underline; | ||
cursor: pointer; | ||
} |
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
Oops, something went wrong.