Skip to content

Commit

Permalink
Merge pull request #115 from dependentmadani/migrate-typescript
Browse files Browse the repository at this point in the history
update(styles): remove placeholder style
  • Loading branch information
neSpecc authored Jul 9, 2024
2 parents 517b6b3 + b92bfcf commit 64a4a02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@editorjs/header",
"version": "2.8.5",
"version": "2.8.6",
"keywords": [
"codex editor",
"header",
Expand Down
17 changes: 0 additions & 17 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,3 @@
* Styles for Plugin icon in Toolbar
*/
.ce-header__icon {}

.ce-header[contentEditable=true][data-placeholder]::before{
position: absolute;
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
display: none;
cursor: text;
}

.ce-header[contentEditable=true][data-placeholder]:empty::before {
display: block;
}

.ce-header[contentEditable=true][data-placeholder]:empty:focus::before {
display: none;
}

0 comments on commit 64a4a02

Please sign in to comment.