chore: Remove various IE hacks and workarounds (#6781)

* chore: Remove IE-specific hacks from flyout_base.ts.

* chore: Remove IE hacks from workspace_svg.ts.

* chore: Remove IE hacks from css.ts.

* chore: Remove IE hacks from xml.ts.

* chore: Remove IE hacks from grid.ts.

* chore: Remove errant logging from flyout_base.ts.

* chore: Remove obsolete comments about IE from bootstrap.js.

* chore: Remove reference to IE from README.

* chore: Clean up trailing spaces in bootstrap.js.
This commit is contained in:
Aaron Dodson
2023-03-14 11:26:38 -07:00
committed by GitHub
parent 0a1096262f
commit 17064a1c39
7 changed files with 13 additions and 86 deletions

View File

@@ -171,9 +171,7 @@ export function blockToDom(block: Block, opt_noId?: boolean): Element|
const element = utilsXml.createElement(block.isShadow() ? 'shadow' : 'block');
element.setAttribute('type', block.type);
if (!opt_noId) {
// It's important to use setAttribute here otherwise IE11 won't serialize
// the block's ID when domToText is called.
element.setAttribute('id', block.id);
element.id = block.id;
}
if (block.mutationToDom) {
// Custom data for an advanced block.