fix: Assign proper namespaces to foreignObject children

This commit is contained in:
lishid 2021-06-06 16:57:47 -04:00
parent 2d01c5489b
commit e0652539fb
2 changed files with 2 additions and 2 deletions

View File

@ -532,7 +532,7 @@ const _drawTextCandidateFunc = (function() {
.attr('height', height);
const text = f
.append('div')
.append('xhtml:div')
.style('display', 'table')
.style('height', '100%')
.style('width', '100%');

View File

@ -370,7 +370,7 @@ const _drawTextCandidateFunc = (function() {
.attr('position', 'fixed');
const text = f
.append('div')
.append('xhtml:div')
.style('display', 'table')
.style('height', '100%')
.style('width', '100%');