add current line desc
This commit is contained in:
parent
4806b83d1f
commit
ac06cae5c0
1 changed files with 4 additions and 2 deletions
|
@ -23,10 +23,12 @@ class EditorAccessibility extends React.Component {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div className="editor-accessibility">
|
<div className="editor-accessibility">
|
||||||
<p className="editor-linenumber" aria-live="polite" id="editor-linenumber"> {this.props.lineNo} </p>
|
<ul className="editor-lintmessages" title="lint messages">
|
||||||
<ul className="editor-lintmessages" id="editor-lintmessages" title="lint messages">
|
|
||||||
{messages}
|
{messages}
|
||||||
</ul>
|
</ul>
|
||||||
|
<p> Current line
|
||||||
|
<span className="editor-linenumber" aria-live="polite" id="current-line"> {this.props.lineNo} </span>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue