ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.79k stars 2.47k forks source link

[Chrome]   is inserted instead of space near styled element #4965

Open jhewebdev opened 2 years ago

jhewebdev commented 2 years ago

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Select any text inside the CKEditor
  2. Apply some sort of style to it (Bold or Italic for example)
  3. Put your cursor in between the styled text and other content
  4. Type in a new word (or press backspace and then space)

Demonstration:

https://user-images.githubusercontent.com/30625249/140962920-fa882c48-8a6c-4d49-8143-bce4ca1fc7da.mp4

Expected result

<p>I&#39;m an nice <strong>instance </strong>...</p>

Actual result

<p>I&#39;m an nice&nbsp;<strong>instance </strong>...</p>

Other details

I know this issue is close to the one described here: https://github.com/ckeditor/ckeditor4/issues/3819 but yet the reproduction steps differ.

dominiklaube commented 2 years ago

I can reproduce it. A fix would be very nice!

sculpt0r commented 2 years ago

Hi @VapeZ2k I can confirm this issue. Indeed - we have already closed a similar issue, however, your steps are still valid. Text styling is the key in this case.

It might be an edge case of #3819.

It is reproducible back to 4.14.0 so no regression here.

jhewebdev commented 2 years ago

Any updates? @sculpt0r :)

sculpt0r commented 2 years ago

Hi @VapeZ2k, Currently, we are working on a few other issues. So there is no ETA for this issue. However, if anything change - we will add comments here :)