WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 3 months ago

#46537 new defect (bug)

Can't use Emoji in the Custom HTML widget

Reported by: hirofumi2012 Owned by:
Milestone: 5.3 Priority: normal
Severity: normal Version: 4.8.1
Component: Emoji Keywords: has-screenshots has-patch needs-testing
Focuses: Cc:

Description

Type emoji. Then the cursor does not move.

Attachments (2)

emoji.png (43.2 KB) - added by hirofumi2012 6 months ago.
46537.diff (1.1 KB) - added by pento 3 months ago.

Download all attachments as: .zip

Change History (6)

@hirofumi2012
6 months ago

#1 @hirofumi2012
6 months ago

  • Keywords has-screenshots added

#2 @SergeyBiryukov
5 months ago

  • Version changed from trunk to 4.8.1

Introduced in #40907.

@pento
3 months ago

#3 @pento
3 months ago

  • Keywords has-patch needs-testing added
  • Milestone changed from Awaiting Review to 5.3

This is a problem with all CodeMirror instances (eg, the plugin editor).

46537.diff stops emoji replacement from happening inside CodeMirror instances, it also cleans up some of the logic in the MutationObserver.

Note that polyfills are broken when SCRIPT_DEBUG is enabled (#46110), so this patch can only be tested on IE11 with SCRIPT_DEBUG set to false.

#4 @pento
3 months ago

#44301 was marked as a duplicate.

Note: See TracTickets for help on using tickets.