Add filetype jinja in frontend

This commit is contained in:
Zhaoyang Li 2025-03-15 10:28:25 +08:00 committed by GitHub
parent b881e60215
commit fe6c0b95ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ render(){
<button @click="${e=>this.txtSize(2)}">A</button>
<button @click="${e=>this.txtSize(1)}">+</button>
<select @change=${this.extChange}>
${["yaml","py","json","conf","js","txt","log","all"].map(value =>
${["yaml","py","json","conf","js","txt","log","jinja","all"].map(value =>
html`<option ?selected=${value === this.edit.ext }
value=${value}>${value.toUpperCase()}</option>`)}
</select>