GrapesJS / GrapesJS/components-custom-code

Custom Code unable to be used if user clicks save without entering any text

Aperta
#33 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
81
Fork
47
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

If a user drags the custom code block onto the canvas, and then clicks save without entering any text - the component can no longer be edited - The only choice is to delete and start again (assuming the user understands the layers).

Would it be possible in the onceclose() function to not exit if the content is currently empty?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.