Skip to content

Commit

Permalink
Add placeholder property to poymer-quill
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckh committed Dec 27, 2016
1 parent 29893ff commit 19081e0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polymer-quill",
"version": "0.8.0",
"version": "0.8.1",
"description": "Polymer Quill Rich Text Editor",
"authors": [
"Chuck Horton"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polymer-quill",
"version": "0.7.0",
"version": "0.8.1",
"description": "Polymer Quill Rich Text Editor",
"main": "polymer-quill.html",
"directories": {
Expand Down
4 changes: 4 additions & 0 deletions polymer-quill-bubble.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ <h2>Standard Toolbar, Hide Results, Default height (50px), Save as HTML, Save ev
value: false,
notify: true,
},
/**
* Placeholder for empty editor.
* Default is `Compose an epic...`.
*/
placeholder: {
type: String,
value: 'Compose an epic...',
Expand Down
6 changes: 5 additions & 1 deletion polymer-quill.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ <h2>Standard Toolbar, Hide Results, Default height (100px), Save as HTML, Save e
value: false,
notify: true,
},
/**
* Placeholder for empty editor.
* Default is `Compose an epic...`.
*/
placeholder: {
type: String,
value: 'Compose an epic...',
Expand All @@ -331,7 +335,7 @@ <h2>Standard Toolbar, Hide Results, Default height (100px), Save as HTML, Save e
theme: 'snow',
strict: false,
readOnly: this.readyOnly,
placeholder: 'Compose an epic...'
placeholder: this.placeholder
});
// placeholder: this.placeholder,

Expand Down

0 comments on commit 19081e0

Please sign in to comment.