Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
n1smithy opened this issue May 14, 2024 · 4 comments
Open

Comments

@n1smithy
Copy link

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.
@turbo124 turbo124 transferred this issue from invoiceninja/invoiceninja May 14, 2024
@hillelcoren
Copy link
Member

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
Copy link
Author

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
Copy link
Member

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
Copy link
Author

This would be awesome!

@hillelcoren hillelcoren changed the title [Flutter-app] An editor for an easier and uniformly (!) formating of texts like product-descriptions, notices and so on Use the visual markdown editor when editing the invoice terms and notes May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants