Ticket #5592 (confirmed New Feature)

Opened 5 years ago

Last modified 6 months ago

Display unprintable characters

Reported by: aaburlaka Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

It would be nice if I can view unprintable characters of used formatting in CKeditor. Is it possible to make button for display and hide such unprintable characters?

Change History

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version set to 3.0

I assume that author means characters like: space,  , tab, line break etc.

Such elements could be for example marked with grey colour when toolbar button is pressed. I'm not sure what could be used (if anything) for line breaks as they don't take up any space.

comment:2 Changed 6 months ago by j.swiderski

#12573 was marked as duplicate.

Currently this is undoable because browsers take care of rendering text.

As mentioned by @Reinmar perhaps we could make something like a11ychecker mode and show non-printable characters then.
We could search for all spaces and tag endings (e.g. </p> </div> <br/> etc.) and wrap them in styled spans. This could be shown when some toolbar button is pressed or highlighted when keyboard shortcut is used however editor would have to be made read-only. There wouldn't be possibility to show these characters and edit content.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy