Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 89fa0ea

Browse files
feat: placeholder
Signed-off-by: peterpeterparker <[email protected]>
1 parent caaa362 commit 89fa0ea

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
### Web Components: New
1919

20-
- studio: v0.0.16 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/main/webcomponents/studio/CHANGELOG.md))
20+
- studio: v0.0.17 ([CHANGELOG](https://github.com/deckgo/deckdeckgo/blob/main/webcomponents/studio/CHANGELOG.md))
2121

2222
### Web Components:
2323

webcomponents/studio/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 0.0.17 (2022-04-03)
2+
3+
### Features
4+
5+
- placeholder empty titles use `::before`
6+
17
# 0.0.16 (2022-04-03)
28

39
### Build

webcomponents/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deckdeckgo/studio",
3-
"version": "0.0.16",
3+
"version": "0.0.17",
44
"description": "The editor(s) of DeckDeckGo.",
55
"main": "dist/index.cjs.js",
66
"module": "dist/studio/studio.esm.js",

webcomponents/studio/src/components/doc/doc.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ deckgo-studio-doc {
99
margin: 0 auto;
1010

1111
article {
12-
h1:nth-child(1):empty:not(:focus):after {
12+
h1:nth-child(1):empty:not(:focus):before {
1313
content: var(--studio-title, "Title");
1414
color: var(--studio-color);
1515
white-space: pre;
1616
position: relative;
1717
}
1818

19-
div:nth-child(2):empty:last-child:not(:focus):after {
19+
div:nth-child(2):empty:last-child:not(:focus):before {
2020
content: var(--studio-sub-title, "Write your document...");
2121
color: var(--studio-color);
2222
position: relative;

0 commit comments

Comments
 (0)