Merge pull request #63 from lizy14/patch-1

Add filetype jinja in frontend
This commit is contained in:
junkfix 2025-03-15 20:56:12 +00:00 committed by GitHub
commit ae3c001745
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>