2010-03-21, 06:13:15
Hello,
Is it possible to insert a non-breaking space (  in the page editor?
Is it possible to insert a non-breaking space (  in the page editor?
Non-breaking space
|
2010-03-21, 06:13:15
Hello,
Is it possible to insert a non-breaking space (  in the page editor?
2010-03-21, 06:23:39
Maybe when you switch to code view, but I don’t think CKEditor supports it. However, there are very little places that actually need a non-breaking space so I don’t think it’s a mayor thing.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-03-21, 07:48:38
I don't know for other languages, but it's very useful in French typography.
2010-03-21, 07:55:57
Hmm, I haven’t often see spaces between words and punctuation marks. Does it work to put in the code editor?
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-03-21, 08:16:32
It inputs the space code automatically.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.
Have you ever coded in your underwear before?
2010-03-21, 08:38:31
internet54 Wrote:It inputs the space code automatically.CKEditor will never put non-breaking spaces in your content. Zegnåt Wrote:Does it work to put in the code editor?I gave this a test, and it does. Just write your whole page and then press the “source†button. All that you will insert there seem to make it into your pages. If you always need them in certain cases it might be worth it making a plugin that automatically will swap normal spaces in certain cases with . This will save time in the long run, and help clients to not have to edit the source output of CKEditor.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-03-21, 09:47:17
^ My editor allows spaces in the visual editor with out inserting   in the code.
Clients always want to be able to change the content of their pages, but they are unwilling to do so.
Have you ever coded in your underwear before?
2010-03-21, 17:33:38
It only does that with multiple spaces after each other and it will not even keep the whitespace from breaking (as either the first or the last space will be a normal one). I don’t think that’s what Patrick needs for French typography, which I would guess means he needs to put one (!) space between a word and its following punctuation mark.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
2010-03-21, 19:40:09
You're right Zegnåt, I need to put a nbsp before these punctuation marks:
; : ? ! « » and also at some other places, like before a unit or after an abbreviation.
2010-03-21, 19:42:27
As I stated, the only way would be by switching into source mode and putting them in by hand. Or forget about them when editing the page and make a plugin that will swap all spaces before the signs you just mentioned into non-breaking spaces.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode! |
« Next Oldest | Next Newest »
|