We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Non-breaking space are remove from ckeditor field when editing

  • 3 Antworten
  • 1 hat dieses Problem
  • 4 Aufrufe
  • Letzte Antwort von 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 ^^.

Alle Antworten (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

Geändert am von 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.