Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

How to display multi-line add-on discription for non published extension

  • 4 odpowiedzi
  • 1 osoba ma ten problem
  • 11 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options

Im creating a FF extension for private distribution (I dont want it listed on the FF extension site).

If I use "\r\n" in my manifest.json "description" I can create a multi line description that displays as expected when I click on the preferences for my extension. The problem is that on the Add-on summary page (where all the installed extension are listed) the description shows the first 40 or so characters of the description (all of line 1 and then as much as will fit of line 2). I want to only show line 1.

I see that with extensions that are published the first line can be short and displays in the summary list, then when the preferences are displayed the first line is displayed and additional lines are displayed.

Any way to do this?

Im creating a FF extension for private distribution (I dont want it listed on the FF extension site). If I use "\r\n" in my manifest.json "description" I can create a multi line description that displays as expected when I click on the preferences for my extension. The problem is that on the Add-on summary page (where all the installed extension are listed) the description shows the first 40 or so characters of the description (all of line 1 and then as much as will fit of line 2). I want to only show line 1. I see that with extensions that are published the first line can be short and displays in the summary list, then when the preferences are displayed the first line is displayed and additional lines are displayed. Any way to do this?

Wszystkie odpowiedzi (4)

more options

Hello JackPollack,

Maybe you'd be better off posting your question here :

https://discourse.mozilla.org/c/add-ons

more options

will do. thank you

more options

JackPollack said

will do. thank you

          Good luck !

more options

Note that "\n" should be sufficient to force a line break.