Is there a way to disable the automatic insertion of non-breaking space
in the code when you are in CERN Full HTML format ?
I often encounter this issue when i insert HTML from source and then open the text component again.
<div class="separation-line"> </div> when reopening the Text Component holding it.
I looked under Configuration > Text formats and editors but didn’t find anything relevant.
Try the following solution:
admin/config/content/formats/manage/cern_full_html in your website
- Click on configure on the format that you use
- Enable the " Convert line breaks into HTML (i.e.
<p> )" option
Let me know if that solves your issue.
Thanks for your answer. I just tried and it doesn’t work. I still get
This is the default behavior of the CKEditor. In order to fix this you need to add something to its configuration file which is not possible since you don’t have a local copy but you are using the version from infrastructure.
However you can use this module https://www.drupal.org/project/nbsp This is a known issue in Drupal and the community have created a module for it.
Ah i see, is it a fix that would eventually be helpful for the CERN community ?
I installed the module you recommended but unfortunately the issue is still here. Checking or not the “Cleanup NBSP markup” doesn’t change anything, non-breaking space are still inserted by default.
@sboutas, i found the solution, using the no non-breaking space module
Thank you very much for your help.