GrapesJS / GrapesJS/components-custom-code
[Question] Disable/customize auto formatting on save
Ouverte
- Langage dominant
- TypeScript
- Étoiles
- 81
- Forks
- 47
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When adding JS specifically I am using Django to render in the background so If I have:
```
var isAuthenticated = {% if purchase_session.username %}true{% else %}false{% endif %};
```
The auto format changes it to this which prevents Django from parsing out its tags:
```
var isAuthenticated = {
%if purchase_session.username%}
true{
%else%}
false{
%endif%};
```
Is there a way to prevent the auto formatting of code inside tags?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.