Skip to content

Commit

Permalink
Add code markers around inline HTML tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz committed Nov 1, 2021
1 parent 0c6d47f commit a86ae0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit a86ae0e

Please sign in to comment.