Skip to content

Add a Preference Option to "Show Hidden/Non-Printing Characters" #72232

@jhmonroe

Description

@jhmonroe

What problem does this address?

Programs like Word, Pages, or Adobe InDesign have ways to display ALL characters, including what are sometimes called hidden or non-printing or formatting characters.

Image

Example in Adobe InDesign: https://redokun.com/blog/show-hidden-characters-indesign

Example in MS Word: https://support.microsoft.com/en-us/office/show-or-hide-tab-marks-in-word-84a53213-5d02-404a-b022-09cae1a3958b

For instance, you see spaces represented as dots in this view so you know there is a regular space there.

HTML editor view is not enough since it does not show hidden spaces.

Without the ability to see hidden characters, there is no way to proof text and remove forced line breaks or other non-breaking spaces that carry over from a client's text they wrote in Word.

Pain Point Example: A client wrote a bunch of text in MS Word and pasted it into the block editor. A bunch of rectangles with diagonal slashes were showing on the front-end of the site where there were just what appeared to be regular spaces in the back-end. HTML view showed nothing was there other than a space. It wasn't until deleted the space on backend and typing a new space that the boxes went away on the front-end.

Image Image Image

Because most of us have clients who write text in other programs and paste into our WP sites, this feature is very needed to allow cleanup!

Also Wordpress is all about writing and editing!

What is your proposed solution?

A toggle in Preferences that would allow display of hidden/non-printing characters similar to how Adobe InDesign or MS Word has.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions