invoiceninja / admin-portal

Invoice Ninja: Desktop/mobile admin portal built with Flutter
https://demo.invoiceninja.com
Other
1.56k stars 521 forks source link

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

Open n1smithy opened 1 month ago

n1smithy commented 1 month ago

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.
hillelcoren commented 1 month ago

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.

n1smithy commented 1 month ago

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.

hillelcoren commented 1 month ago

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.

n1smithy commented 1 month ago

This would be awesome!