8
0
فهرست منبع

Merge pull request #163 from ckeditor/t/ckeditor5/1517

Docs: Editor placeholder should be created from the "placeholder" attribute only when the source element is `<textarea>`. (see [ckeditor/ckeditor5#1517](https://github.com/ckeditor/ckeditor5/issues/1517)).
Piotrek Koszuliński 7 سال پیش
والد
کامیت
35e743272b
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      packages/ckeditor5-core/src/editor/editorconfig.jsdoc

+ 3 - 4
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -187,11 +187,10 @@
  *			::before
  *		</p>
  *
- * **Note**: Placeholder text can also be set using the `placeholder` attribute of an element passed to
- * the `create()` method, for instance to
- * {@link module:editor-classic/classiceditor~ClassicEditor.create `ClassicEditor.create()`}.
+ * **Note**: Placeholder text can also be set using the `placeholder` attribute if a `<textarea>` is passed to
+ * the `create()` method, e.g. {@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 `placeholder` attribute of a `<textarea>`
  * element passed to the `create()` method.
  *
  * See the {@glink features/placeholder "Editor placeholder" guide} for more information and live examples.