Skip to content

Commit

Permalink
Merge pull request #36 from vvidday/fix/merge-into-heading
Browse files Browse the repository at this point in the history
fix: merge empty heading block into another heading block
  • Loading branch information
greentfrapp authored Aug 3, 2022
2 parents 5246168 + 8147dea commit 0b68c73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Block.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ function getInnerContent () {
function getTextContent () {
const innerContent = getInnerContent()
if (innerContent) return innerContent.parentElement ? innerContent.parentElement.textContent : innerContent.textContent
else return ''
}
function getHtmlContent () {
Expand Down

0 comments on commit 0b68c73

Please sign in to comment.