Don't lose formatting in draft comment

When displaying a bubble in the `creating` state, we were wrongly using
the plaintext version of the draft comment. This has the effect of
losing formatting whenever the page is saved and reloaded.
This commit is contained in:
Kevin McConnell
2025-02-28 12:43:22 +00:00
parent eaf4903afc
commit bb2a2c618b
+1 -1
View File
@@ -11,7 +11,7 @@ module Bubble::Messages
end
def draft_comment
find_or_build_initial_comment.body_plain_text
find_or_build_initial_comment.body.content
end
def draft_comment=(body)