listmonk/frontend/src
Kailash Nadh 65d25fc3f9 Improve campaign content format conversion.
Previously, converting between formats simply copied over raw content.
This update does actual conversion between different formats. While
lossy, this seems to a good enough approximation for even reasonbly
rich HTML content. Closes #348.

- richtext, html => plain
  Strips HTML and converts content to plain text.

- richtext, html => markdown
  Uses turndown (JS) lib to convert HTML to Markdown.

- plain => richtext, html
  Converts line breaks in plain text to HTML breaks.

- richtext => html
  "Beautifies" the HTML generated by the WYSIWYG editor unlike the
  earlier behaviour of dumping one long line of HTML.

- markdown => richtext, html
  Makes an API call to the backend to use the Goldmark lib to convert
  Markdown to HTML.
2021-05-09 15:36:31 +05:30
..
api Improve campaign content format conversion. 2021-05-09 15:36:31 +05:30
assets Add support for alternate plaintext body for e-mails. 2021-01-30 18:49:47 +05:30
components Improve campaign content format conversion. 2021-05-09 15:36:31 +05:30
router Add new 'Logs' page to the UI to view stdout logs 2020-10-10 23:55:54 +05:30
store Add new 'Logs' page to the UI to view stdout logs 2020-10-10 23:55:54 +05:30
views WIP: Add tests 2021-04-10 12:26:33 +05:30
App.vue WIP: Add tests 2021-04-10 12:26:33 +05:30
constants.js Refactor fetching of server config and settings. 2021-02-13 12:34:36 +05:30
main.js Refactor fetching of server config and settings. 2021-02-13 12:34:36 +05:30
utils.js Fix incorrect week day name logic in translation 2021-03-07 12:36:10 +05:30