We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The utility of having a "foreignobject" in SVG usually comes from other namespaces such as "http://www.w3.org/1999/xhtml" for HTML, etc.
Tried:
var fobj = canvas.foreignObject(100,100).attr({id: 'fobj'}) fobj.appendChild("body", {id: 'mydiv', 'xmlns': 'http://www.w3.org/1999/xhtml', innerText: "<input type='text' >"}) //or innerHTML
it does not change the "xmlns" attribute and that leads to not interpreting the "input" tag correctly.
The text was updated successfully, but these errors were encountered:
I have the same question.
Sorry, something went wrong.
No branches or pull requests
The utility of having a "foreignobject" in SVG usually comes from other namespaces such as "http://www.w3.org/1999/xhtml" for HTML, etc.
Tried:
it does not change the "xmlns" attribute and that leads to not interpreting the "input" tag correctly.
The text was updated successfully, but these errors were encountered: