Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: backtick added around <textarea> input tag in readme file #34813

Merged
merged 3 commits into from
Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/dom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _Returns_
### documentHasTextSelection

Check whether the current document has selected text. This applies to ranges
of text in the document, and not selection inside <input> and <textarea>
of text in the document, and not selection inside `<input>` and `<textarea>`
elements.

See: <https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection#Related_objects>.
Expand All @@ -58,8 +58,8 @@ _Returns_
### documentHasUncollapsedSelection

Check whether the current document has any sort of selection. This includes
ranges of text across elements and any selection inside <input> and
<textarea> elements.
ranges of text across elements and any selection inside `<input>` and
`<textarea>` elements.

_Parameters_

Expand Down
2 changes: 1 addition & 1 deletion packages/dom/src/dom/document-has-text-selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { assertIsDefined } from '../utils/assert-is-defined';

/**
* Check whether the current document has selected text. This applies to ranges
* of text in the document, and not selection inside <input> and <textarea>
* of text in the document, and not selection inside `<input>` and `<textarea>`
* elements.
*
* See: https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection#Related_objects.
Expand Down
4 changes: 2 additions & 2 deletions packages/dom/src/dom/document-has-uncollapsed-selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import inputFieldHasUncollapsedSelection from './input-field-has-uncollapsed-sel

/**
* Check whether the current document has any sort of selection. This includes
* ranges of text across elements and any selection inside <input> and
* <textarea> elements.
* ranges of text across elements and any selection inside `<input>` and
* `<textarea>` elements.
*
* @param {Document} doc The document to check.
*
Expand Down