GrapesJS / GrapesJS/components-custom-code
[Question] Disable/customize auto formatting on save
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 81
- Forks
- 47
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.