Skip to main content
Nintex Community Menu Bar
Question

Rich Text Editor adds unwanted line spacing....

  • July 10, 2024
  • 5 replies
  • 533 views

Forum|alt.badge.img+17

The rich text editor defaults to double spaced lines and I don’t see a way to set it to single spacing. Am I missing something?

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+7
  • July 10, 2024

Try hitting Shift Enter.


Forum|alt.badge.img+17

Thanks, Mansour. I’ll give it a try. Most applications that I use the editor for are best with single spacing. Seems like a setting that should be part of the standard controls.


Forum|alt.badge.img+18

Raymond,

I think what you’re experiencing has to do with the CSS for

. As far as I understand, shift+enter will insert a
, and enter inserts a new

. You might want to explore modifying the CSS for

within richtext components.


Forum|alt.badge.img+7

Skuid rep helped us with this by adding CSS inline:


.nx-richtext-input p {

    margin: 0px;

    padding: 0px;

}



.nx-fieldtext p {

    margin: 0px;

    padding: 0px;

}


Forum|alt.badge.img+17

Thanks! I used different CSS, but this is better than mine. Thanks for posting!