Merge pull request #2119 from lishid/develop

fix: Assign proper namespaces to foreignObject children
This commit is contained in:
Knut Sveidqvist
2021-06-25 10:30:50 +02:00
committed by GitHub
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

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