fix(client): make new editor more accessible (#44425)
parent
09352ad3c2
commit
6872262d21
|
@ -491,7 +491,6 @@ const Editor = (props: EditorProps): JSX.Element => {
|
|||
// The z-index needs increasing as ViewZones default to below the lines.
|
||||
domNode.style.zIndex = '10';
|
||||
|
||||
domNode.setAttribute('aria-hidden', 'true');
|
||||
domNode.style.left = `${editor.getLayoutInfo().contentLeft}px`;
|
||||
domNode.style.width = `${editor.getLayoutInfo().contentWidth}px`;
|
||||
|
||||
|
@ -527,8 +526,6 @@ const Editor = (props: EditorProps): JSX.Element => {
|
|||
// The z-index needs increasing as ViewZones default to below the lines.
|
||||
outputNode.style.zIndex = '10';
|
||||
|
||||
outputNode.setAttribute('aria-hidden', 'true');
|
||||
|
||||
outputNode.style.left = `${editor.getLayoutInfo().contentLeft}px`;
|
||||
outputNode.style.width = `${editor.getLayoutInfo().contentWidth}px`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue