Przeglądaj źródła

allow button tag

Yuki Takei 1 rok temu
rodzic
commit
18640d5b5e

+ 1 - 0
apps/app/src/services/renderer/recommended-whitelist.ts

@@ -11,6 +11,7 @@ type Attributes = typeof defaultSchema.attributes;
 export const tagNames: Array<string> = [
 export const tagNames: Array<string> = [
   ...defaultSchema.tagNames ?? [],
   ...defaultSchema.tagNames ?? [],
   '-', 'bdi',
   '-', 'bdi',
+  'button',
   'col', 'colgroup',
   'col', 'colgroup',
   'data',
   'data',
   'iframe',
   'iframe',