Skip to content

Commit

Permalink
AI Proofread: Stable suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoagds committed Jul 16, 2024
1 parent 8a9aebb commit 6b5f45d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ export default function Highlight() {

const handleApplySuggestion = () => {
// Apply known fixes
const render = fixes.listItem( suggestions?.html, true ); // Replace li for WP tags

const render = fixes.table( fixes.listItem( suggestions?.html, true ) );
const [ newBlock ] = rawHandler( { HTML: render } );
updateBlockAttributes( block, newBlock.attributes );
};
Expand Down

0 comments on commit 6b5f45d

Please sign in to comment.