Skip to content

Commit

Permalink
Re-order information in toc panel
Browse files Browse the repository at this point in the history
  • Loading branch information
opr committed Jul 3, 2022
1 parent 17dae93 commit d171a84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/editor/src/components/table-of-contents/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,19 @@ function TableOfContentsPanel( { hasOutlineItemsDisabled, onRequestClose } ) {
tabIndex="0"
>
<ul role="list" className="table-of-contents__counts">
<li className="table-of-contents__count">
{ __( 'Words' ) }
<WordCount />
</li>
<li className="table-of-contents__count">
{ __( 'Characters' ) }
<span className="table-of-contents__number">
<CharacterCount />
</span>
</li>
<li className="table-of-contents__count">
{ __( 'Words' ) }
<WordCount />
{ __( 'Time to read' ) }
<TimeToRead />
</li>
<li className="table-of-contents__count">
{ __( 'Headings' ) }
Expand All @@ -67,10 +71,6 @@ function TableOfContentsPanel( { hasOutlineItemsDisabled, onRequestClose } ) {
{ numberOfBlocks }
</span>
</li>
<li className="table-of-contents__count">
{ __( 'Time to read' ) }
<TimeToRead />
</li>
</ul>
</div>
{ headingCount > 0 && (
Expand Down

0 comments on commit d171a84

Please sign in to comment.