mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 16:40:41 +00:00
tweak for fluid ux
This commit is contained in:
@@ -765,7 +765,12 @@ async function edit_app_section(cur_app_name) {
|
||||
const filetype_association_input = document.querySelector('textarea[id=edit-app-filetype-associations]');
|
||||
let tagify = new Tagify(filetype_association_input, {
|
||||
pattern: /\.(?:[a-z0-9]+)|(?:[a-z]+\/(?:[a-z0-9.-]+|\*))/,
|
||||
delimiters: null,
|
||||
delimiters: ", ",
|
||||
enforceWhitelist: false,
|
||||
dropdown : {
|
||||
// show the dropdown immediately on focus (0 character typed)
|
||||
enabled: 0,
|
||||
},
|
||||
whitelist: [
|
||||
// MIME type patterns
|
||||
"text/*", "image/*", "audio/*", "video/*", "application/*",
|
||||
|
||||
Reference in New Issue
Block a user