GrapesJS / GrapesJS/components-custom-code
[Question] Disable/customize auto formatting on save
オープン
- 主要言語
- TypeScript
- スター
- 81
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。