Opened 6 years ago
Closed 6 years ago
#44755 closed defect (bug) (invalid)
Display Paragraph Count wrong in Gutenberg
Reported by: | niravcse006 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9.8 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Hello,
Now we use wordpress latest version with gutenberg. When we create new page with multiple paragraph in content box then paragraph count display wrong.
Thanks.
Attachments (1)
Change History (4)
#2
in reply to:
↑ 1
@
6 years ago
Yes, definataly i know that its not part of wordpress core yet. But i want to suggest that if any non developer user working on wordpress admin panel to insert content and he/she also see this feature then he/she don't understand that how this feature is work. So i will change this behaviour in short time.
Thanks.
Note: See
TracTickets for help on using
tickets.
The Table of Contents box does not count the number of
<p>
elements in your post, but the number ofcore/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 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).