admin-portal icon indicating copy to clipboard operation
admin-portal copied to clipboard

Use the visual markdown editor when editing the invoice terms and notes

Open n1smithy opened this issue 1 year ago • 4 comments

What version of Invoice Ninja are you running? ie v4.5 / v5 5

What environment are you running? Docker

Have you searched existing issues/requests? Yes

Additional context It's a hard work to create an offer or an invoice if you have to set html-tags manually. There should be one uniformed editoring-standard for every multilined text-area like product-descriptions, notices etc. For example if I create an offer I'll have to use html-tags to set new lines or paragraphs in the article-description. There are no buttons for font-size, -format or anything. So if I hit Enter/Return there won't be any paragraph or new line in the PDF. But on the other hand if I define a public notice for that offer, a new line will be automatically set in the PDF if I just hit Enter/Return in the text-field. So when I set an at the end of the previous line there are two new lines there. So there are two improvements:

  1. The behaviour of all text-fields should be the same (please set standards!).
  2. The text-interface should be user-friendly because of an intuitive to use front-end.

n1smithy avatar May 14 '24 06:05 n1smithy

Hi,

The reason you need to use two line breaks is most likely because the markdown feature is enabled, it can be disabled on Settings > Account Management.

If you highlight text you should see an option to change it's font style.

hillelcoren avatar May 14 '24 09:05 hillelcoren

Hi, Hillel, thank you for your advice. Well, the German translation could be better. But anyway, with option on or off there is no option to change the font style when I highlight any text. And option on seems to (at least) does not work within the public notices field.

n1smithy avatar May 14 '24 09:05 n1smithy

Sorry, I was mistaken. The Flutter app provides a visual markdown editor when editing the email templates but this isn't currently used on the edit invoice page.

The React app does show a markdown editor for the terms/notes section, we can look into including this in the Flutter app as well.

hillelcoren avatar May 14 '24 09:05 hillelcoren

This would be awesome!

n1smithy avatar May 14 '24 09:05 n1smithy