Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Non-breaking space are remove from ckeditor field when editing

  • 3 replies
  • 1 has this problem
  • 4 views
  • Last reply by Shadow110

more options

I have a website that use Ckeditor as Wysiwyg for editing content. For insert special character they are no probleme for $ or & with html entities but when in want to use non-breaking space, firefox remove it. For example I writing some words, I insert the non-breaking space, for now everthing is ok but, I write one more word and instantanely, the non-breaking space is remove. This problem is not reproduicible on chrome or IE. It's a problem because my client, and me of course, love Firefox :-).

I'm sorry for my bad english, I try to improve it ^^.

I have a website that use Ckeditor as Wysiwyg for editing content. For insert special character they are no probleme for $ or & with html entities but when in want to use non-breaking space, firefox remove it. For example I writing some words, I insert the non-breaking space, for now everthing is ok but, I write one more word and instantanely, the non-breaking space is remove. This problem is not reproduicible on chrome or IE. It's a problem because my client, and me of course, love Firefox :-). I'm sorry for my bad english, I try to improve it ^^.

All Replies (3)

more options

HI please provide the URL if the page is live.

Also Wysiwyg are not the best editors but when combined with checking from below works.

If not please check the rest of your code by upload : W3C.org (World Wide Web Consortium) in charge of standards and practices and future development of web pages and web browsers make the rules on code. Mozilla Firefox follows these rules. W3C.org Who make the rules for web code. HTML https://validator.w3.org/ CSS https://jigsaw.w3.org/css-validator/ and https://validator.w3.org/i18n-checker/ and http://mobile.css-validator.org/

Sometimes you have to write exceptions for moz

Please let us know if this solved your issue or if need further assistance.

more options

Hi ! Thanks for your reply ! To be clear, it's not my personnal code, I juste used ckeditor in Drupal website. Here the editor : https://ckeditor.com/ckeditor-4/#article and more info about ckeditor in Drupal here https://www.drupal.org/docs/8/core/modules/editor/overview. I can't give you an url because it's on restricted website and server, I'm sorry, maybe if i have time next time I can try to set a simple test me instance. In the meantime, an example : I wrote some word "Lorem ipsum", insert a non-breaking-space "Lorem ipsum " (I put a space between p and ; just to be sure it won't be translate by ff), everything is fine but if I write one more letter, then it's removed like this "Lorem ipsum d". But I want this "Lorem ipsum dolore".

Thanks again

Modified by cor-el

more options

Hi, you can still upload or use URL in Validator/jigsaw and then manually correct the bad code that the Wysiwyg is inserting I would think.

With out a URL or the lines of code to look at can not offer and help towards this at this time.

So ya a test site URL with the code that is wrong with enough code to figure out good and bad or publish URL with a meta tag robots no, robots noindex and provide the URL.