Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
expose function for getMessageHTMLContent
Browse files Browse the repository at this point in the history
  • Loading branch information
Alun Turner committed Jun 15, 2023
1 parent d95b334 commit e98a279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platforms/web/lib/useWysiwyg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@ export function useWysiwyg(wysiwygProps?: WysiwygProps) {
traceAction: testUtilities.traceAction,
},
suggestion: memoisedMappedSuggestion,
getMessageHTMLContent: () =>
composerModel?.get_content_as_message_html() ?? '',
};
}

0 comments on commit e98a279

Please sign in to comment.