Skip to content

Commit

Permalink
Merge pull request #181 from haiwen/optimize-deserialize-func
Browse files Browse the repository at this point in the history
optimize code
  • Loading branch information
shuntian authored Jun 6, 2024
2 parents ecf2020 + f7525f9 commit af23930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slate-convert/md-to-slate/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ export const transformListItem = (node) => {
return transformParagraph(child);
} else if (child.type === 'html') { // patch
return transformBlockHtml(child);
} else if (child.type === 'thematicBreak') { // patch
return transformParagraph(child);
}
}).flat(),
};
Expand Down

0 comments on commit af23930

Please sign in to comment.