lakelib 0.1.4 → 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 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/getting-started) · [Reference](https://lakejs.org/reference/)
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);