hackmdio / hackmdio/hackmd-it-issues

[Github] "Edit on HackMD" button can't display while the document is empty.

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
12
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![image](https://user-images.githubusercontent.com/10939796/72977545-b6c4be00-3e0f-11ea-867d-9e9d21261c02.png)

And the following is the error message show in console when I open this page.
```
content.js:80 TypeError: Cannot read property '1' of null
at t (content.js:80)
at content.js:80
at e.trigger (content.js:80)
at e. (content.js:80)
at content.js:80
at Object.next (content.js:80)
at content.js:80
at new Promise ()
at r (content.js:80)
at e.triggerAsync (content.js:80)
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the empty-document case for the "Edit on HackMD" button and inspect the console error reported at content.js:80. Done means the button displays when the document is empty and the reported TypeError no longer occurs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.