Skip to content

Commit

Permalink
RichText: Update JSDoc block for to-html-string (WordPress#65688)
Browse files Browse the repository at this point in the history
Co-authored-by: djcowan <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Sep 27, 2024
1 parent ae1c989 commit 2659751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/rich-text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ Create an HTML string from a Rich Text value.

_Parameters_

- _$1_ `Object`: Named argements.
- _$1_ `Object`: Named arguments.
- _$1.value_ `RichTextValue`: Rich text value.
- _$1.preserveWhiteSpace_ `[boolean]`: Preserves newlines if true.

Expand Down
2 changes: 1 addition & 1 deletion packages/rich-text/src/to-html-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { toTree } from './to-tree';
/**
* Create an HTML string from a Rich Text value.
*
* @param {Object} $1 Named argements.
* @param {Object} $1 Named arguments.
* @param {RichTextValue} $1.value Rich text value.
* @param {boolean} [$1.preserveWhiteSpace] Preserves newlines if true.
*
Expand Down

0 comments on commit 2659751

Please sign in to comment.