Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Because the placeholder attribute is invalid for non–input elem…
Browse files Browse the repository at this point in the history
…ents, data-placeholder should be used instead (see ckeditor/ckeditor5#1517).
  • Loading branch information
oleq committed Feb 11, 2019
1 parent 1e8b7ac commit 8092f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/editor/editorconfig.jsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@
* ::before
* </p>
*
* **Note**: Placeholder text can also be set using the `placeholder` attribute of an element passed to
* **Note**: Placeholder text can also be set using the `data-placeholder` attribute of an element passed to
* the `create()` method, for instance to
* {@link module:editor-classic/classiceditor~ClassicEditor.create `ClassicEditor.create()`}.
*
* **Note**: This configuration has precedence over the value of the `placeholder` attribute of a DOM
* **Note**: This configuration has precedence over the value of the `data-placeholder` attribute of a DOM
* element passed to the `create()` method.
*
* See the {@glink features/placeholder "Editor placeholder" guide} for more information and live examples.
Expand Down

0 comments on commit 8092f9a

Please sign in to comment.