Compare commits

..

No commits in common. "10eef5e4a88dfb4bc14cb153533c5df56b849280" and "728ddcfe31717f697213229626e590fd0f5ef284" have entirely different histories.

5 changed files with 28 additions and 53 deletions

View file

@ -26,12 +26,11 @@
"prosemirror-state": "~1.4.2",
"prosemirror-transform": "~1.7.1",
"prosemirror-view": "~1.29.2",
"prosemirror-history": "^1.3.0",
"svelte": "^3.58.0",
"svelte-check": "^2.10.3",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"vite": "^4.2.2"
"vite": "^4.2.1"
},
"dependencies": {
"bootstrap-icons": "^1.10.4",

View file

@ -10,9 +10,6 @@ dependencies:
navaid:
specifier: ^1.2.0
version: 1.2.0
prosemirror-history:
specifier: ^1.3.0
version: 1.3.0
regexparam:
specifier: ^2.0.1
version: 2.0.1
@ -35,16 +32,16 @@ dependencies:
devDependencies:
'@poppanator/sveltekit-svg':
specifier: ^2.1.2
version: 2.1.2(svelte@3.58.0)(vite@4.2.2)
version: 2.1.2(svelte@3.58.0)(vite@4.2.1)
'@sveltejs/vite-plugin-svelte':
specifier: ^2.0.4
version: 2.0.4(svelte@3.58.0)(vite@4.2.2)
version: 2.0.4(svelte@3.58.0)(vite@4.2.1)
'@tsconfig/svelte':
specifier: ^3.0.0
version: 3.0.0
'@vitejs/plugin-basic-ssl':
specifier: ^1.0.1
version: 1.0.1(vite@4.2.2)
version: 1.0.1(vite@4.2.1)
prosemirror-commands:
specifier: ~1.3.1
version: 1.3.1
@ -91,8 +88,8 @@ devDependencies:
specifier: ^4.9.5
version: 4.9.5
vite:
specifier: ^4.2.2
version: 4.2.2
specifier: ^4.2.1
version: 4.2.1
packages:
@ -335,7 +332,7 @@ packages:
fastq: 1.15.0
dev: true
/@poppanator/sveltekit-svg@2.1.2(svelte@3.58.0)(vite@4.2.2):
/@poppanator/sveltekit-svg@2.1.2(svelte@3.58.0)(vite@4.2.1):
resolution: {integrity: sha512-d3s+Irf4vIrn1yHj6PffSRZT8Wo/Unt4QdGxZmLZWLT9eG6tHznJjQRAau1DEphjTeRohYHQSk6mM/KyMmQhEQ==}
peerDependencies:
svelte: 3.x
@ -343,10 +340,10 @@ packages:
dependencies:
svelte: 3.58.0
svgo: 2.8.0
vite: 4.2.2
vite: 4.2.1
dev: true
/@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.2):
/@sveltejs/vite-plugin-svelte@2.0.4(svelte@3.58.0)(vite@4.2.1):
resolution: {integrity: sha512-pjqhW00KwK2uzDGEr+yJBwut+D+4XfJO/+bHHdHzPRXn9+1Jeq5JcFHyrUiYaXgHtyhX0RsllCTm4ssAx4ZY7Q==}
engines: {node: ^14.18.0 || >= 16}
peerDependencies:
@ -359,8 +356,8 @@ packages:
magic-string: 0.30.0
svelte: 3.58.0
svelte-hmr: 0.15.1(svelte@3.58.0)
vite: 4.2.2
vitefu: 0.2.4(vite@4.2.2)
vite: 4.2.1
vitefu: 0.2.4(vite@4.2.1)
transitivePeerDependencies:
- supports-color
dev: true
@ -385,13 +382,13 @@ packages:
sass: 1.62.0
dev: true
/@vitejs/plugin-basic-ssl@1.0.1(vite@4.2.2):
/@vitejs/plugin-basic-ssl@1.0.1(vite@4.2.1):
resolution: {integrity: sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==}
engines: {node: '>=14.6.0'}
peerDependencies:
vite: ^3.0.0 || ^4.0.0
dependencies:
vite: 4.2.2
vite: 4.2.1
dev: true
/anymatch@3.1.3:
@ -931,14 +928,6 @@ packages:
prosemirror-view: 1.29.2
dev: true
/prosemirror-history@1.3.0:
resolution: {integrity: sha512-qo/9Wn4B/Bq89/YD+eNWFbAytu6dmIM85EhID+fz9Jcl9+DfGEo8TTSrRhP15+fFEoaPqpHSxlvSzSEbmlxlUA==}
dependencies:
prosemirror-state: 1.4.2
prosemirror-transform: 1.7.1
rope-sequence: 1.3.3
dev: false
/prosemirror-keymap@1.2.1:
resolution: {integrity: sha512-kVK6WGC+83LZwuSJnuCb9PsADQnFZllt94qPP3Rx/vLcOUV65+IbBeH2nS5cFggPyEVJhGkGrgYFRrG250WhHQ==}
dependencies:
@ -1058,18 +1047,14 @@ packages:
glob: 7.2.3
dev: true
/rollup@3.20.6:
resolution: {integrity: sha512-2yEB3nQXp/tBQDN0hJScJQheXdvU2wFhh6ld7K/aiZ1vYcak6N/BKjY1QrU6BvO2JWYS8bEs14FRaxXosxy2zw==}
/rollup@3.20.4:
resolution: {integrity: sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
fsevents: 2.3.2
dev: true
/rope-sequence@1.3.3:
resolution: {integrity: sha512-85aZYCxweiD5J8yTEbw+E6A27zSnLPNDL0WfPdw3YYodq7WjnTKo0q4dtyQ2gz23iPT8Q9CUyJtAaUNcTxRf5Q==}
dev: false
/run-parallel@1.2.0:
resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
dependencies:
@ -1300,8 +1285,8 @@ packages:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
dev: false
/vite@4.2.2:
resolution: {integrity: sha512-PcNtT5HeDxb3QaSqFYkEum8f5sCVe0R3WK20qxgIvNBZPXU/Obxs/+ubBMeE7nLWeCo2LDzv+8hRYSlcaSehig==}
/vite@4.2.1:
resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:
@ -1328,12 +1313,12 @@ packages:
esbuild: 0.17.17
postcss: 8.4.22
resolve: 1.22.2
rollup: 3.20.6
rollup: 3.20.4
optionalDependencies:
fsevents: 2.3.2
dev: true
/vitefu@0.2.4(vite@4.2.2):
/vitefu@0.2.4(vite@4.2.1):
resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==}
peerDependencies:
vite: ^3.0.0 || ^4.0.0
@ -1341,7 +1326,7 @@ packages:
vite:
optional: true
dependencies:
vite: 4.2.2
vite: 4.2.1
dev: true
/w3c-keyname@2.2.6:

View file

@ -46,7 +46,3 @@ a {
--accent-fg: #94a3b8;
}
}
button {
padding: 0.5em 1em;
}

View file

@ -21,16 +21,3 @@
<ListItem {view} {state} kind={ListKind.Ordered} />
<BlockQuoteItem {view} {state} />
</div>
<style>
.menubar {
position: sticky;
top: 0px;
z-index: 69;
display: flex;
background: var(--background, white);
border-bottom: 1px solid var(--accent-bg);
}
</style>

View file

@ -9,6 +9,14 @@
box-sizing: border-box;
}
.editor .menubar {
position: sticky;
top: 0px;
z-index: 69;
background: var(--background, white);
border-bottom: 1px solid var(--accent-bg);
}
.editor .menubar button {
appearance: none;
background: none;