lakelib 0.1.5 → 0.1.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 +1 -1
- package/dist/lake.css +9 -3
- package/dist/lake.min.js +15 -15
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +9 -3
- package/lib/lake.js +72 -42
- package/lib/lake.js.map +1 -1
- package/lib/types/editor.d.ts +3 -0
- package/lib/types/ui/link-popup.d.ts +5 -3
- package/lib/types/utils/index.d.ts +0 -1
- package/package.json +1 -1
- package/lib/types/utils/for-each.d.ts +0 -5
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Lake is a rich text editor for the web. It has a good user experience and provides easy-to-use programming interface to allow further extension.
|
|
10
10
|
|
|
11
|
-
[Examples](https://lakejs.org/examples/) · [Getting started](https://lakejs.org/guide/
|
|
11
|
+
[Examples](https://lakejs.org/examples/) · [Getting started](https://lakejs.org/guide/) · [Reference](https://lakejs.org/reference/)
|
|
12
12
|
|
|
13
13
|
## Development
|
|
14
14
|
|
package/dist/lake.css
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
.lake-container {
|
|
36
36
|
box-sizing: content-box;
|
|
37
|
+
position: relative;
|
|
37
38
|
font-family: var(--font-family);
|
|
38
39
|
font-size: 16px;
|
|
39
40
|
font-weight: normal;
|
|
@@ -48,6 +49,14 @@
|
|
|
48
49
|
color: inherit;
|
|
49
50
|
background: var(--selection-background-color);
|
|
50
51
|
}
|
|
52
|
+
.lake-container.lake-show-placeholder::before {
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 8px;
|
|
55
|
+
left: 12px;
|
|
56
|
+
color: var(--secondary-text-color);
|
|
57
|
+
content: attr(placeholder);
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
51
60
|
.lake-container bookmark {
|
|
52
61
|
display: inline;
|
|
53
62
|
}
|
|
@@ -851,9 +860,6 @@ lake-box[name="image"] .lake-box-selected .lake-image-error {
|
|
|
851
860
|
lake-box[name="codeBlock"] {
|
|
852
861
|
margin: 16px 0;
|
|
853
862
|
}
|
|
854
|
-
lake-box[name="codeBlock"] .lake-box-container {
|
|
855
|
-
overflow-x: auto;
|
|
856
|
-
}
|
|
857
863
|
lake-box[name="codeBlock"] .lake-box-focused .lake-code-block,
|
|
858
864
|
lake-box[name="codeBlock"] .lake-box-activated .lake-code-block {
|
|
859
865
|
border-color: var(--box-border-color);
|