mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user