Support bold in the email text markdown editor
Similar to how the link works in the email editor
Hello @fomalhautb. Can you explain the issue in more detail? I would like to work on this.
Hey @fomalhautb
I tried to look into this issue but I think bold is already supported in every email template. Please give more info or image for better clarification.
I would like to work on this.
https://github.com/stack-auth/stack/blob/efaf6db3f713f069b7dc021a6638d102ca616aa4/packages/stack-emails/src/editor/blocks/block-text.tsx#L101
This is for example how we handle hyperlinks, we need to do the same for bold text. Please consider the scenario where hyperlinks and bold text are nested or have overlaps.
Hey @fomalhautb , I tried looking up on the email templates in the editor. it seems that there's already support for setting the font weight to bold. Here's an attached screenshot.
Let me know how should I proceed, because the issue seems to be already solved.
Hey @fomalhautb , I tried looking up on the email templates in the editor. it seems that there's already support for setting the font weight to bold. Here's an attached screenshot.
Let me know how should I proceed, because the issue seems to be already solved.
Oh by bold text I mean bold a substring, like this is a bold substring.
Basically it should be format like:
**this is some bold** this is some normal text, right?
Basically it should be format like:
**this is some bold** this is some normal text, right?
yes
Hi @fomalhautb, I would like to work on this issue, pl assign it to me.
@fomalhautb i have raised the PR could you please suggest if there are any changes required
