Skip to content

Commit

Permalink
4.0.0-rc.6: fix css styles
Browse files Browse the repository at this point in the history
  • Loading branch information
st-h committed Aug 11, 2023
1 parent 6150fd3 commit 1aed138
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 27 deletions.
4 changes: 2 additions & 2 deletions ember-content-editable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-content-editable",
"version": "4.0.0-rc.5",
"version": "4.0.0-rc.6",
"description": "A content-editable component for ember-cli that just works.",
"keywords": [
"ember-addon",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@embroider/addon-shim": "^1.8.4",
"ember-content-editable-modifier": "2.0.1-rc.4"
"ember-content-editable-modifier": "2.0.1-rc.5"
},
"devDependencies": {
"@babel/core": "^7.21.0",
Expand Down
18 changes: 0 additions & 18 deletions ember-content-editable/src/components/content-editable.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
.ember-content-editable:empty:not(:focus):before,
.ember-content-editable:focus:empty:before {
content: attr(placeholder);
}

.ember-content-editable.clear-on-focus:empty:focus:before {
content: '';
}

.ember-content-editable[contenteditable] {
cursor: text;
-webkit-user-modify: read-write-plaintext-only;
}

.ember-content-editable:empty {
color: #a9a9a9;
}

.ember-content-editable:empty:after {
content: "\0000a0";
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-content-editable",
"version": "4.0.0-rc.5",
"version": "4.0.0-rc.6",
"private": true,
"repository": "",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions test-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "test-app",
"version": "4.0.0-rc.5",
"version": "4.0.0-rc.6",
"description": "A content-editable component for ember-cli that just works.",
"keywords": [
"ember",
Expand Down Expand Up @@ -56,7 +56,7 @@
"ember-cli-htmlbars": "^6.2.0",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-terser": "^4.0.2",
"ember-content-editable": "4.0.0-rc.5",
"ember-content-editable": "4.0.0-rc.6",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator-for-testing": "^1.0.0",
"ember-page-title": "^7.0.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5321,10 +5321,10 @@ ember-compatibility-helpers@^1.1.2:
fs-extra "^9.1.0"
semver "^5.4.1"

[email protected].4:
version "2.0.1-rc.4"
resolved "https://registry.yarnpkg.com/ember-content-editable-modifier/-/ember-content-editable-modifier-2.0.1-rc.4.tgz#f348e20d7e331fdb87d1c9cf33dc8d418d61442b"
integrity sha512-nIlP8I675qe6XpkOwLLkBNuxyy2oq8jyF06Gefw61QXirsTlvfzFgLGYrgsK9NSz4FV7x6z0wmF5W3AUwymrhA==
[email protected].5:
version "2.0.1-rc.5"
resolved "https://registry.yarnpkg.com/ember-content-editable-modifier/-/ember-content-editable-modifier-2.0.1-rc.5.tgz#cb76e6ba8396fe3907682253671d07fa2d41bb79"
integrity sha512-CZCrr/AT21mdMtvv8l0On7mIWSqbc9iu8+b6bhDmKraMl3SIqydMcXSlj/DKYuRlCyVKX09dU4kq8IKYUhJu6w==
dependencies:
"@embroider/addon-shim" "^1.8.4"
ember-modifier "^4.1.0"
Expand Down

0 comments on commit 1aed138

Please sign in to comment.