forked from mystiq/hydrogen-web
Merge pull request #689 from vector-im/madlittlemods/add-more-html-elements
Add more HTML form and SVG elements
This commit is contained in:
commit
770f7aea00
1 changed files with 3 additions and 2 deletions
|
@ -104,8 +104,9 @@ export const TAG_NAMES = {
|
|||
"br", "a", "ol", "ul", "li", "div", "h1", "h2", "h3", "h4", "h5", "h6",
|
||||
"p", "strong", "em", "span", "img", "section", "main", "article", "aside", "del", "blockquote",
|
||||
"table", "thead", "tbody", "tr", "th", "td", "hr",
|
||||
"pre", "code", "button", "time", "input", "textarea", "label", "form", "progress", "output", "video"],
|
||||
[SVG_NS]: ["svg", "circle"]
|
||||
"pre", "code", "button", "time", "input", "textarea", "select", "option", "label", "form",
|
||||
"progress", "output", "video"],
|
||||
[SVG_NS]: ["svg", "g", "path", "circle", "ellipse", "rect", "use"]
|
||||
} as const;
|
||||
|
||||
export const tag: { [tagName in typeof TAG_NAMES[string][number]]: (attributes?: BasicAttributes<never> | Child | Child[], children?: Child | Child[]) => Element } = {} as any;
|
||||
|
|
Loading…
Reference in a new issue