Make WordPress Core

Opened 5 weeks ago

Last modified 10 days ago

#52075 new defect (bug)

Word Count on Classic Editor doesn't update in real time on Firefox unless saved

Reported by: rebasaurus Owned by:
Milestone: 5.6.1 Priority: normal
Severity: normal Version: 5.6
Component: TinyMCE Keywords: needs-patch
Focuses: Cc:


This has been happening on 5.6 using Firefox 83.0. I was unable to reproduce on 5.5.1.

To reproduce on 5.6:

1) Install the Classic Editor plugin and enable it
2) Type out a bunch of words on a new post and see that "Word count: 0" remains
3) Save as draft and see that "Word count: x" has updated

Change History (5)

#1 @rebasaurus
5 weeks ago

Also, I just wanted to mention that it's not reproducible using Chrome — just FF. Using the jquery migrate helper plugin does resolve the issue.

Last edited 5 weeks ago by rebasaurus (previous) (diff)

#2 @hellofromTonya
2 weeks ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 5.6.1

Hello @rebasaurus,

Welcome to WordPress Core Trac! Thank you for the ticket.

With WP 5.6:

  • I was able to reproduce the problem in Firefox v84.0.1.
  • It worked as expected in Chrome Version 87.0.4280.88 and Safari Version 14.0.2.

With 5.5.3:

  • It worked as expected in Firefox, Chrome, and Safari.

My local testing environment:

  • Theme: Twenty Twenty-One
  • Plugins: only the Classic Editor plugin
  • PHP: 7.3.5
  • Classic Editor: 1.6

Moving this ticket into 5.6.1.

#3 @rebasaurus
12 days ago

Looks like https://core.trac.wordpress.org/ticket/52046 is related and there was a changeset pushed to it recently.

#4 @justinahinon
11 days ago

Yes @rebasaurus. I can confirm that. I'm not able to reproduce the issue on the latest version of trunk.

This ticket was mentioned in Slack in #core by metalandcoffee. View the logs.

10 days ago

Note: See TracTickets for help on using tickets.