Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

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

  • 4 Antworten
  • 1 hat dieses Problem
  • 12 Aufrufe
  • Letzte Antwort von 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?

Alle Antworten (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.