Skip to content

Commit

Permalink
fix: prefer direct input placeholder
Browse files Browse the repository at this point in the history
closes #44
  • Loading branch information
sibiraj-s committed Feb 5, 2018
1 parent 6012283 commit cdfd4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ngx-editor/ngx-editor.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[attr.translate]="config['translate']" [attr.spellcheck]="config['spellcheck']" [style.height]="config['height']" [style.minHeight]="config['minHeight']"
[style.resize]="Utils?.canResize(resizer)" (focus)="onFocus()" (blur)="onBlur()" #ngxTextArea></div>

<span class="ngx-editor-placeholder">{{ config['placeholder'] }}</span>
<span class="ngx-editor-placeholder">{{ placeholder || config['placeholder'] }}</span>
</div>

<textarea #ngxCodeEditor [hidden]="true"></textarea>
Expand Down

0 comments on commit cdfd4bc

Please sign in to comment.