Skip to content

Commit

Permalink
RichText: Fix JSDoc block typos (#65607)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka authored Sep 24, 2024
1 parent df5eaed commit a644eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rich-text/src/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export function removeReservedCharacters( string ) {
/**
* Creates a Rich Text value from a DOM element and range.
*
* @param {Object} $1 Named argements.
* @param {Object} $1 Named arguments.
* @param {Element} [$1.element] Element to create value from.
* @param {Range} [$1.range] Range to create value from.
* @param {boolean} [$1.isEditableTree]
Expand Down Expand Up @@ -591,7 +591,7 @@ function createFromElement( { element, range, isEditableTree } ) {
/**
* Gets the attributes of an element in object shape.
*
* @param {Object} $1 Named argements.
* @param {Object} $1 Named arguments.
* @param {Element} $1.element Element to get attributes from.
*
* @return {Object|void} Attribute object or `undefined` if the element has no
Expand Down

0 comments on commit a644eb3

Please sign in to comment.