Skip to content

Windows: add non breaking space shortcut #18523

Closed

Description

@ellatrix

Alt+Space doesn't seem to work on Windows. It's the standard shortcut in Word, so it doesn't hurt to add it. On a Mac, this shortcut is built in.

See https://wordpress.org/support/topic/adding-nbsp/.

Activity

  1. yankiara commented on Nov 18, 2019

    @yankiara

    +1000

  2. added
    [Feature] Rich Text
    [Type] Enhancement
    on Nov 20, 2019
  3. tybor commented on Jun 18, 2020

    @tybor

    Shift+Ctrl+Space doesn't seem to work on Windows. It's the standard shortcut in Word, so it doesn't hurt to add it. On a Mac, this shortcut is built in.

    It is also an almost ubiquitous shortcut on Linux too and in LibreOffice. I've been routinely using it for at least 10 years

  4. fr-laurentn commented on Aug 17, 2020

    @fr-laurentn

    I totally agree. It's painful to edit in HTML mode and add  

  5. rezeau commented on Jan 11, 2021

    @rezeau

    Totally agree, an absolute must. In French typography, the "double" punctuation signs ; : ! ? need to have a (non breaking) space between them and the word placed before them.

  6. added
    Good First Issue
    on Jan 12, 2021
  7. TonyGravagno commented on Feb 25, 2021

    @TonyGravagno
    Contributor

    I'd like to keep this one alive. Keyboard shortcuts for Text Formatting include ctrl+b, ctrl+shift+k, etc. These hotkeys transparently modify the underlying markup. A new shortcut like ctrl+shift+space (compatible with other apps) should take the existing character(s) and convert each of them to " ".

    Perhaps this clear description will help to ease the implementation. If this is approved I might take a shot at the code myself.

    Thanks.

  8. fr-laurentn commented on Feb 26, 2021

    @fr-laurentn

    For the record, I've noticed that it seems fixed with WP 5.6.2.

    I haven't tried on a fresh install, but I've noticed on various websites that using ALT+255 on Windows now creates a non-breaking space.

  9. tybor commented on Feb 26, 2021

    @tybor
  10. ellatrix commented on Mar 2, 2021

    @ellatrix
    MemberAuthor

    Would be great if someone else can attempt this. It's a good first issue and I don't use Windows personally.

  11. pierrefrance commented on Mar 9, 2021

    @pierrefrance

    How do you add a unbreakable space in Gutenberg editor using mac ? Using windows, we can enter an alt-code but with mac, nothing seems to work.

  12. ellatrix commented on Mar 9, 2021

    @ellatrix
    MemberAuthor

    Shift+Option+Space (= Shift+Alt+Space)

  13. noisysocks commented on Mar 16, 2021

    @noisysocks
    Member

    Let's be sure to make this shortcut work on Linux too.

  14. tybor commented on Mar 16, 2021

    @tybor
  15. tybor commented on Mar 16, 2021

    @tybor
  16. ellatrix commented on Mar 16, 2021

    @ellatrix
    MemberAuthor

    The shortcut I mentioned above only works for Mac. On windows there's no shortcut, hence the issue.

  17. burnuser commented on Jul 4, 2021

    @burnuser

    I need non breaking space in WordPress on Windows each day! (That's a main reason why I'm still working with classic editor.)
    Any chance for an implementation of this classic feature in Gutenberg in the near future?

  18. rezeau commented on Jul 4, 2021

    @rezeau

    Again, I agree with @burnuser and others. A simple shortcut is needed. The most natural one being, IMHO, Shift+Space bar.

  19. zackkatz commented on Nov 18, 2021

    @zackkatz

    I'm adding my vote for Option + Space on the Mac.

  20. benjaminpwarren commented on Jul 17, 2022

    @benjaminpwarren

    Shortcut for Windows is ALT+0160.

  21. t-hamano commented on Aug 6, 2022

    @t-hamano
    Contributor

    I am a Windows user and would like to work on this issue.

  22. self-assigned this
    on Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Good First Issue[Feature] Rich Text[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions