A scheme for making birthday cards online

demand: send birthday cards on employees" birthdays

  1. birthday cards (with different subjects each month) are made and uploaded in the system. Birthday cards are composed of problems and pictures, the text floats on the pictures, and the text field is replaced with the corresponding name
  2. replace text
  3. send regularly

Plan: replacement text is replaced by freemarker, mail is sent using springboot mail service (content format is HTML format, pictures are inserted in the corresponding location), and a scheduled task is written for scheduled delivery

question: the card is in the making of birthday cards

problem description:

1, initially intended to use a rich text editor, but found that the rich text editor can not float the text on the picture
2, write a div, to set its background, add a textarea, to set the background is transparent, but you can achieve text floating on the picture, but can not set fonts and other properties, do not know how to transfer to the back end and maintain the format unchanged.

finally: do not know how other companies" solutions are implemented, please do not hesitate to comment!


this problem can be realized in the following two ways:
1. Two large div, as backgrounds, background pictures and small text;
2.div plus a custom rich text editor, which can add a variety of styles to greeting cards

Menu