Closed (fixed)
Project:
CKEditor Non-breaking space Plugin ( )
Version:
8.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Sep 2019 at 14:37 UTC
Updated:
19 Dec 2022 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mgerbaultComment #3
philyThanks, I had to apply above patch too (Drupal 8.7.8, NBSP 8.x-1.2, basic_html text filter)
Comment #4
wengerkHey !! Many thanks for your help, could you please provide a patch to expose the main issue and be sure we never create a regression on this ?
Comment #5
wengerkThe module has now tests, I don't understand how it does not works before ? LEt's see what's broken with the change you made and how we can improve the module !
Comment #6
wengerkReroll the patch
Comment #7
wengerkThe tests still pass, but they also pass without your fix :/ I'm kind of confuse could you please provide more context how to repeat the problem ?It was a problem with the tests suites, may bad.
So the new code don't pass we have to see why and be sure we really fix something with the patch proposed and cover the case.
Comment #8
renrhafWe had the same issue, the HTML generated was like this :
.....<span class="nbsp"> </span>....So when the filter was replacing by inner child, there was nothing but a simple space character.
Comment #9
wengerkfixed on new release
8.x-2.2(CKEditor 4 & CKEditor 5) and3.0.0(CKEditor 5).