Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#48947 closed defect (bug) (invalid)

WP 5.3: blanks are filteres in editor in some cases

Reported by: guenni's profile guenni Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.3
Component: Editor Keywords:
Focuses: Cc:


I came a few days ago about a mysterious edition effect - probably a bug in the WordPress Editor.

WordPress Version 5.3 (Effect in de_DE and also in en_us).
Classic Editor in Front-End used.
Theme: TwentyTen

Steps to reproduce the effect:

I create a new post and start typing the body text. Everything is ok, blanks are inserted in a proper manner.

I add a More Tag at the end of the first paragraph.

Then I select the text end of the 1st paragraph to continue to add text to this para. As soon as I try to add text at the end of the 1st paragraph, just before the more tag, all blanks entered between words are filtered. All words are merged together (w/o the blanks).

If I click into the text - between the characters of two words - I'm able to insert blanks.

If I click into the text of the 1st paragraph (and there is text behind the text cursor), I'm also able to insert a text in a proper manner (with blanks between words and withouut filtering blanks).

It seems to me, that the 'blank filtering' occurs just in the case, when the text cursor is positionied just in front of the more tag.

I have this effect on distinct blogs (German, English) and independant from a single side or multisite install.

It's annoying - I'm glad that I'm using an offline blog editor (Windows Live Writer) to create the text.

--- German edition WP 5.3: Leerzeichen werden im Beitrags-Edtior u.U. nicht eingefügt ----

ch bin gerade auf einen merkwürdigen Effekt gestoßen, der möglicherweise ein Bug im WordPress Editor ist.

WordPress Version 5.3 (Effekt in de_DE und auch in en_us). Classic Editor im Front-End im Einsatz. Theme: TwentyTen

Schritte, um den Effekt nachzustellen:

Ich lege einen neuen Beitrag an und tippe den Text ein. Es werden Blanks sauber und wie erwartet eingefügt.

Ich füge einen More Tag ein.

Sobald ich dann am Zeilenende Text mit Leerzeichen eingeben möchte, werden diese herausgefiltert. Alle Wörter hängen dann zusammen.

Klicke ich auf die zusammenhängenden Wörter, kann ich ein Blank einfügen.

Klicke ich auf den Textabsatz vor dem More-Tag mitten im Text, kann ich auch Texte sauber mit Leerzeichen einfügen.

Es scheint so zu sein, dass die Leerzeichen herausgefiltert werden, wenn die Textmarke am Ende des ersten Absatzes, direkt vor dem More-Tag steht.

Ich habe es hier in verschiedenen Blogs (deutsch, englisch).

Change History (3)

#1 @garrett-eclipse
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hello @guenni

Welcome to the WordPress Core Trac. This ticketing system is for bugs and enhancements of WordPress core and themes.

Reviewing your issue to my understanding you've enabled the Classic Editor in the Front-end via a plugin or custom code? Front-end editing isn't part of WordPress core, the Classic Editor or TwentyTen by default as such I feel you were directed here incorrectly and it's best to continue to pursue assistance via your support ticket;

You'll want to mention how you've enabled the Front-end editor be it a plugin or custom implementation. If it's a plugin you can potentially open a ticket on the plugin-specific forum.

Also note before closing this ticket I setup a clean install of WordPress 5.3 with the Classic Editor plugin and TwentyTen theme to attempt to reproduce the issue using the back-end editor. In this I was unsuccessful so don't see this as a core issue.

I very well may be incorrect so if you're able to reproduce the issue with a clean install of TwentyTen/WordPress 5.3 and the Classic Editor plugin please feel free to re-open this ticket.

All the best

#2 @guenni
5 years ago

Thanks for your tests - I've answered at the article within the German word press forum you linked above. Will test further.

#3 @knelta
4 years ago

Hello, here maybe a short info: I had the same problem. For me it was because I had pictures in the visual editor that didn't exist. So if I was to write directly above (or next to) one of those nonexistent images (in the same paragraph) the space wouldn't work. When I deleted the picture, the spaces were displayed again immediately.

Here a small gif/vid how it works:

Happy Holidays and a Happy New Year!

Good health!

Note: See TracTickets for help on using tickets.