fix: Assign proper namespaces to foreignObject children
This commit is contained in:
parent
2d01c5489b
commit
e0652539fb
|
@ -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%');
|
||||
|
|
|
@ -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%');
|
||||
|
|
Loading…
Reference in New Issue