8
0
فهرست منبع

Docs: Because the placeholder attribute is invalid for non–input elements, data-placeholder should be used instead (see ckeditor/ckeditor5#1517).

Aleksander Nowodzinski 6 سال پیش
والد
کامیت
38cfe94aa9
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/ckeditor5-core/src/editor/editorconfig.jsdoc

+ 2 - 2
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -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.