[wp-trac] [WordPress Trac] #44755: Display Paragraph Count wrong in Gutenberg
WordPress Trac
noreply at wordpress.org
Wed Aug 8 14:02:02 UTC 2018
#44755: Display Paragraph Count wrong in Gutenberg
--------------------------+------------------------------
Reporter: niravcse006 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.9.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by swissspidy):
* component: General => Editor
Comment:
The Table of Contents box does not count the number of `<p>` elements in
your post, but the number of `core/paragraph` blocks in it.
See
https://github.com/WordPress/gutenberg/blob/94f54892c214ebd014ec126a9575b7e902198ad9/packages/editor/src/components
/table-of-contents/panel.js#L59-L66
If you want to suggest a change to this behavior, I recommend you to
[https://github.com/WordPress/gutenberg open a new issue on GitHub] as
Gutenberg is developed there and is not yet a part of WordPress core
(which this site here is for).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44755#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list