WordPress.org

Make WordPress Core

#37936 closed defect (bug) (fixed)

TinyMCE special character button does not insert non-breaking spaces

Reported by: GeertDD Owned by: azaozz
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.6
Component: TinyMCE Keywords:
Focuses: Cc:

Description

Nothing gets inserted when clicking the non-breaking space character in the TinyMCE editor:

https://s16.postimg.org/d15i95s51/nbsp.png

Note that I also tried adding 160,nbsp to the entities in the TinyMCE config as described in #26842. No change.

Change History (5)

#1 @azaozz
13 months ago

Confirmed in both Firefox and Chrome. Also some of the other white space characters (at the end of the list) don't get inserted.

Passing upstream as this is from he default charmap plugin.

This ticket was mentioned in Slack in #core-tinymce by azaozz. View the logs.


13 months ago

This ticket was mentioned in Slack in #core-tinymce by azaozz. View the logs.


12 months ago

#4 @azaozz
12 months ago

  • Milestone changed from Awaiting Review to 4.7

This was fixed upstream in https://github.com/tinymce/tinymce/commit/b3e518ea67339b544d7daf8b15f14694a78a8830. It wasn't in TinyMCE 4.4.3, but it is self-contained in the charmap plugin. Lets add it.

Last edited 12 months ago by azaozz (previous) (diff)

#5 @azaozz
12 months ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 38780:

TinyMCE: update the charmap plugin to the latest dev. version. Fixes problems with inserting white space characters.

Fixes #37936.

Note: See TracTickets for help on using tickets.