lakelib 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/lake.css +3 -4
- package/dist/lake.min.js +20 -20
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +3 -4
- package/lib/lake.js +411 -291
- package/lib/lake.js.map +1 -1
- package/lib/types/editor.d.ts +4 -0
- package/lib/types/managers/command.d.ts +3 -1
- package/lib/types/managers/history.d.ts +1 -1
- package/lib/types/models/range.d.ts +6 -6
- package/lib/types/plugins/escape-key.d.ts +3 -0
- package/lib/types/types/object.d.ts +8 -2
- package/lib/types/ui/toolbar.d.ts +6 -3
- package/lib/types/utils/split-nodes.d.ts +2 -2
- package/package.json +18 -13
package/README.md
CHANGED
|
@@ -66,9 +66,9 @@ cd lake
|
|
|
66
66
|
# install all dependencies
|
|
67
67
|
pnpm install
|
|
68
68
|
# build CodeMirror
|
|
69
|
-
pnpm codemirror
|
|
69
|
+
pnpm build:codemirror
|
|
70
70
|
# start a local server
|
|
71
|
-
pnpm
|
|
71
|
+
pnpm dev
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
You can now view all demos by visiting `http://localhost:8080/examples/`.
|
package/dist/lake.css
CHANGED
|
@@ -826,9 +826,7 @@ lake-box[name="image"] .lake-box-selected .lake-image-error {
|
|
|
826
826
|
lake-box[name="codeBlock"] {
|
|
827
827
|
margin: 16px 0;
|
|
828
828
|
}
|
|
829
|
-
lake-box[name="codeBlock"] .lake-box-focused .lake-code-block
|
|
830
|
-
border-color: var(--box-border-color);
|
|
831
|
-
}
|
|
829
|
+
lake-box[name="codeBlock"] .lake-box-focused .lake-code-block,
|
|
832
830
|
lake-box[name="codeBlock"] .lake-box-activated .lake-code-block {
|
|
833
831
|
border-color: var(--box-border-color);
|
|
834
832
|
}
|
|
@@ -841,9 +839,10 @@ lake-box[name="codeBlock"] .lake-box-activated .lake-code-block {
|
|
|
841
839
|
.lake-code-block .lake-dropdown {
|
|
842
840
|
position: absolute;
|
|
843
841
|
top: 2px;
|
|
844
|
-
|
|
842
|
+
inset-inline-end: 2px;
|
|
845
843
|
display: none;
|
|
846
844
|
}
|
|
845
|
+
lake-box[name="codeBlock"] .lake-box-focused .lake-code-block .lake-dropdown,
|
|
847
846
|
lake-box[name="codeBlock"] .lake-box-activated .lake-code-block .lake-dropdown {
|
|
848
847
|
display: block;
|
|
849
848
|
}
|