Skip to content

Commit

Permalink
refactor(editor): remove default entry (#9600)
Browse files Browse the repository at this point in the history
  • Loading branch information
doodlewind authored Jan 9, 2025
1 parent 422bac6 commit cac0b7f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 384 deletions.
26 changes: 0 additions & 26 deletions blocksuite/playground/apps/default/main.ts

This file was deleted.

14 changes: 0 additions & 14 deletions blocksuite/playground/apps/default/specs-examples/index.ts

This file was deleted.

115 changes: 0 additions & 115 deletions blocksuite/playground/apps/default/utils/collection.ts

This file was deleted.

135 changes: 0 additions & 135 deletions blocksuite/playground/apps/default/utils/editor.ts

This file was deleted.

26 changes: 0 additions & 26 deletions blocksuite/playground/apps/default/utils/notify.ts

This file was deleted.

22 changes: 12 additions & 10 deletions blocksuite/playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css2?family=Kalam&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap"
rel="stylesheet"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BlockSuite Playground</title>
<style>
html,
Expand All @@ -34,6 +30,15 @@
margin-top: 78px;
}

:root .tp-dfwv {
position: fixed;
overflow: scroll;

top: 0;
bottom: 0;
right: 0;
}

@media print {
doc-title {
margin-top: 0px;
Expand All @@ -43,11 +48,8 @@
</head>

<body>
<script type="module" src="./apps/default/main.ts"></script>
<div
id="app"
style="margin: 0; overflow: initial; height: 100%; box-shadow: initial"
>
<script type="module" src="./apps/starter/main.ts"></script>
<div id="app">
<div id="inspector"></div>
</div>
</body>
Expand Down
Loading

0 comments on commit cac0b7f

Please sign in to comment.