Skip to content

Commit

Permalink
fix(table): Compatible with more types
Browse files Browse the repository at this point in the history
  • Loading branch information
cycleccc committed Aug 27, 2024
1 parent f92f901 commit 0054352
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/table-module/src/module/parse-elem-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function parseCellHtml(
const $elem = $(elem)

children = children.filter(child => {
if (DomEditor.getNodeType(child) === 'paragraph') return true
if (Text.isText(child)) return true
if (editor.isInline(child)) return true
return false
Expand Down

0 comments on commit 0054352

Please sign in to comment.