tiptap service handle empty attestation
This commit is contained in:
parent
af53a9b9db
commit
e4a48f1270
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
class TiptapService
|
class TiptapService
|
||||||
class << self
|
class << self
|
||||||
def to_html(node, tags)
|
def to_html(node, tags)
|
||||||
|
return '' if node.nil?
|
||||||
|
|
||||||
children(node[:content], tags)
|
children(node[:content], tags)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue