Eric Posted December 27, 2022 Clone Share Posted December 27, 2022 Split this part of @Cassanova Frankenstein's original post to another thread since it's a separate topic, so it can be independently tracked on our Trello. 4 hours ago, Cassanova Frankenstein said: Also what's with the weird spacing between paragraphs and lines of text in the WYSIWYG editor? If you just add a single carriage return, there's barely any space between them. If you do a proper double space, there's too much. It looks like margin-block-start and margin-block-end are set to 0.2em respectively, which would leave about a half a blank line between paragraphs. I'll work with @bwatford to see if this was intentional or just another setting we haven't tweaked. 4 hours ago, Cassanova Frankenstein said: It's really jarring and it looks nothing like what you get when you actually submit the post. Which, you know, kind of defeats the point of "WYSIWYG." I did a cross-compare of the styles in-editor and submitted, and I don't see any difference. Can you provide screenshots of what you're seeing so I can try to replicate? Link to comment Share on other sites More sharing options...
bwatford Posted December 27, 2022 Clone Share Posted December 27, 2022 @Eric nothing intentional. There are two ifferent editor skins at work. One for light themes and one for dark themes. Feel free to adjust but everything looks fine on mobile (wont be back home until this weekend) Link to comment Share on other sites More sharing options...
Old Scratch Posted December 27, 2022 Clone Share Posted December 27, 2022 (edited) This is one 'block' of text. This is another. Padding this out a bit more so it wraps enough to demonstrate what I'm referring to. There's clearly (well, clearly to me) an extra buffer space between the <p>s? It's small, but it's there; as bwatford said, it looks like it might just be 0.2em or so. Hitting ENTER should function just like a normal line break (ie, no extra padding or margin at all, I can't even fathom why it was included in the first place), not this weird, failed attempt to create a new block of text. Unlike the line spacing between this "paragraph." I know most people don't/can't see it, but it's one of those minor things that I picked up on immediately. As for the WYSIWYG error, I'm typing this line in it right now to show just how big a gap there is between paragraphs and lines. I'll edit this to show the difference in the actual post afterwards. https://i.imgur.com/fTcJLNR.png https://i.imgur.com/IbIZl65.png Edited December 27, 2022 by Cassanova Frankenstein (see edit history) Link to comment Share on other sites More sharing options...
Eric Posted December 27, 2022 Author Clone Share Posted December 27, 2022 OK, checked all the stylings. They are exactly the same in-editor and out, with one exception: total width. The editor is slightly smaller, which means when edits are complete, word wrap can change, resulting in very slight differences in the rendered appearance. I'm going to file this attached to another existing discussion regarding site content width. Link to comment Share on other sites More sharing options...
Old Scratch Posted December 27, 2022 Clone Share Posted December 27, 2022 If it helps, it only seems to occur when first creating a new post. When you go back to edit an existing one, it appears the same as the displayed post. Link to comment Share on other sites More sharing options...
Eric Posted December 27, 2022 Author Clone Share Posted December 27, 2022 That does help, actually. I'll have to figure out the reason why, but when the editor is invoked in the reply box, line height is set to "1.6" instead of "normal". Added to the tracker. Link to comment Share on other sites More sharing options...
OzzyKP Posted December 28, 2022 Clone Share Posted December 28, 2022 Oh, and if this screenshot helps, here is a comparison between the line spacing in the editor, in the post, and on OGMW. I'd prefer the last example with no additional spacing added: Link to comment Share on other sites More sharing options...
Eric Posted April 30, 2023 Author Clone Share Posted April 30, 2023 Line height has been fixed. Finally. Link to comment Share on other sites More sharing options...
Recommended Posts