Jules Vau Posted April 22, 2018 Share Posted April 22, 2018 Hello, I use CK editor with ProcessWire 3.0.96 and I am not able to use a non-breaking space (nbsp). When I put an nbsp in the "Source" window in CK Editor nothing happened to the client side, the markup is removed. My configuration below: Content Type: Markup/HTML Edito Mode: Inline Editor Use ACF? Yes Use HTML Purifer? Yes Convert div tag to paragraphs tags Yes Remove empty paragraph tags Yes Remove non-breaking spaces (nbsp) No I put nbsp; in Extra Allowed Content field but nothing happened.Can anyone help me? Thanks in advance. Link to comment Share on other sites More sharing options...
Robin S Posted April 22, 2018 Share Posted April 22, 2018 Welcome to the PW forums @Jules Vau 2 hours ago, Jules Vau said: When I put an nbsp in the "Source" window in CK Editor nothing happened to the client side, the markup is removed. Probably silly question, but you are entering right? It is working for me with the same settings as you show above (although I didn't enter anything in Extra Allowed Content as that shouldn't be needed in this case). I tested in 3.0.99 but I don't think anything has changed in this regard since 3.0.96. Link to comment Share on other sites More sharing options...
Jules Vau Posted April 22, 2018 Author Share Posted April 22, 2018 17 minutes ago, Robin S said: Welcome to the PW forums @Jules Vau Thank you @Robin S I am very glad to be part of the fantastic PW community. 16 minutes ago, Robin S said: Probably silly question, but you are entering right? You are right I put Unfortunately with the same settings it still not working for me as you can see below Link to comment Share on other sites More sharing options...
Robin S Posted April 22, 2018 Share Posted April 22, 2018 1 minute ago, Jules Vau said: Unfortunately with the same settings it still not working for me as you can see below Are you positive the is not actually there in the source? Not sure what tool that screenshot is from but some tools will decode HTML entities in which case would just display as a space between words. Also, I can see an inline color style in your screenshot - is that coming from Javascript perhaps? If so, disable all your Javascript to make sure it is not responsible for converting the entity. 1 Link to comment Share on other sites More sharing options...
Jules Vau Posted April 23, 2018 Author Share Posted April 23, 2018 7 hours ago, Robin S said: Are you positive the is not actually there in the source? Not sure what tool that screenshot is from but some tools will decode HTML entities in which case would just display as a space between words. You are right. I was inspecting with Firefox decoder tool which is not displaying nbsp whereas Chrome decoder tool (see image below) display them. Thank you @Robin S you made my day whereas is only 8:30am in Paris! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now