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 << self
|
||||
def to_html(node, tags)
|
||||
return '' if node.nil?
|
||||
|
||||
children(node[:content], tags)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue