playxmaniac Posted June 7, 2015 Share Posted June 7, 2015 Hey. How to remove this gap (the gap) in CKEditor?? Sory me english. screenshot: http://scr.hu/4j6u/9bquo Link to comment Share on other sites More sharing options...
Storyteller Posted June 7, 2015 Share Posted June 7, 2015 It's standard Editor spacing:Press Shift + Enter for a (<br />) line breakPress Enter for a new paragraph.Otherwise change CKEditor (enterMode): http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-skin Link to comment Share on other sites More sharing options...
davpurc Posted June 10, 2015 Share Posted June 10, 2015 We are getting the exact same thing on our forums. The spacing when hitting Enter are really wide. Shift+Enter will definitely work, but most people will not do that. I guess we'll need to look into changing the enterMode settings if there is no other solution. Link to comment Share on other sites More sharing options...
opentype Posted June 10, 2015 Share Posted June 10, 2015 Everyone with the default 4.0 theme will get this. It’s expected and wanted behavior. If you don’t like it, you can modify the amount of space in theme CSS. Link to comment Share on other sites More sharing options...
wmarcy Posted June 10, 2015 Share Posted June 10, 2015 It seems to be one of those things that many people complain about. It might be standard, but it sure feels broken. Link to comment Share on other sites More sharing options...
wmarcy Posted June 10, 2015 Share Posted June 10, 2015 It's standard Editor spacing:Press Shift + Enter for a (<br />) line breakPress Enter for a new paragraph.Otherwise change CKEditor (enterMode): http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-skin Man, I looked at those docs and was completely out of my depth. Any easy way to accomplish this? Link to comment Share on other sites More sharing options...
davpurc Posted June 10, 2015 Share Posted June 10, 2015 I;m fine with modifying the theme's css, but I am not sure what to change....it's not the line height, as I've already played with that. Link to comment Share on other sites More sharing options...
BomAleold Posted June 10, 2015 Share Posted June 10, 2015 i think ips4 dev know this, but not a fix is already available. i have a lot of issue while write on editor (mobile) this is one.enter not work on firefox mobile how it must be. i have pointer on new line but when input new word it append on prevoous line, the editor expand on height when it not must Link to comment Share on other sites More sharing options...
opentype Posted June 10, 2015 Share Posted June 10, 2015 I;m fine with modifying the theme's css, but I am not sure what to change....it's not the line height, as I've already played with that.It’s in the padding/margin settings of the paragraph tag <p>. Link to comment Share on other sites More sharing options...
wmarcy Posted June 10, 2015 Share Posted June 10, 2015 It’s in the padding/margin settings of the paragraph tag <p>.Ralf, do you have a piece of CSS code I can stick into custom.css for this? Link to comment Share on other sites More sharing options...
opentype Posted June 10, 2015 Share Posted June 10, 2015 Ralf, do you have a piece of CSS code I scan stick into custom.css for this?What is your site? It depends on where you want that active. If you change it globally for every paragraph it might have side-effects in other areas. So one might target it specifically to just forum posts, Pages articles and things like that. Link to comment Share on other sites More sharing options...
wmarcy Posted June 10, 2015 Share Posted June 10, 2015 http://www.sedonconnect.comI am willing to play with the CSS a bit, but my abilities are rather standard. Link to comment Share on other sites More sharing options...
Nathan Explosion Posted June 10, 2015 Share Posted June 10, 2015 Man, I looked at those docs and was completely out of my depth. Any easy way to accomplish this? Link to comment Share on other sites More sharing options...
davpurc Posted June 10, 2015 Share Posted June 10, 2015 I think hitting Enter should still produce a <p></p> result, but I would like to change the amount of whitespace between paragraphs. It really stands out and many of our members have contacted me directly to comment on it. Link to comment Share on other sites More sharing options...
opentype Posted June 10, 2015 Share Posted June 10, 2015 http://www.sedonconnect.comI am willing to play with the CSS a bit, but my abilities are rather standard. To me, that looks just right. Isn’t this a new forum? In such a case the larger margins are usually no problem. They are mostly a problem for converted 3.4 boards, where members have heavily added empty lines as paragraph separators. But anyway. The default change to remove the margins is just:p { margin:0; }Or if you just want to reduce the space:p { margin: 6px 0; } If you want to make sure it only affects posts:[data-role="commentContent"] p { margin:0; } Link to comment Share on other sites More sharing options...
wmarcy Posted June 10, 2015 Share Posted June 10, 2015 Thanks Ralf, implementing it now! Link to comment Share on other sites More sharing options...
davpurc Posted June 10, 2015 Share Posted June 10, 2015 Yes, thanks Ralf. That worked for my site, too. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.