How can i make the space between the sentenses smaller.
How can i make the space between the sentenses smaller, i want this for all accounts.
-
-
·
LeonidS
- ·
Hello @dvcgraphics !
In the Custom Styles area of your template (in Studio) you need to set a new value for the following CSS class
.ql-editor p {
line-height: [new value]rem;
}
-
·
LeonidS
-
- · Busimatch
- ·
So, i do have to do that in wich php file, the template is the template of Una.
Sorry, i am not a professional. ( but learning )
-
-
·
LeonidS
-
·
In reply to Busimatch
- ·
No need to change something in the code. If you use the Artificer template, go to the Studio->Artificer->Custom Styles area, and add and save the provided CSS code. Refresh your browser.
-
·
LeonidS
-
- · Busimatch
- ·
What is a good value?
.ql-editor p {
line-height: [3]rem;
}
-
- · Busimatch
-
·
In reply to LeonidS
- ·
Do you mean paste the code here?
Is 3 good?
-
-
·
LeonidS
-
·
In reply to Busimatch
- ·
By default, it has the 1.75rem so try to reduce it to 1rem
-
·
LeonidS
-
- · Busimatch
- ·
I clicked Save, restarted php
Still the same :(
-
- · LoneTreeLeaf
- ·
This stems from the Quill editor itself. There's been issue requests submitted to their GitHub repo to remove double spacing but it's been rejected.
-
- · LoneTreeLeaf
- ·
People got fed up with this issue not being resolved and ditched the editor outright.
https://github.com/slab/quill/issues/1074
@LeonidS the issue is not the line height but Quill forces a line break tag alongside the paragraph tag, which creates the double space.
-
@LoneTreeLeaf@LoneTreeLeaf, how to solve this question?
-
- · Wise
- ·
We need to switch to TinyMCE, its been the GOAT forever. And it is much better maintained.
-
- · Alexey Mir
-
·
In reply to Wise
- ·
Great, how? What should we do?
-
- · Corey Dozier
- ·
Has anyone found a solution to this that can be implemented? It looks silly and increases the size of posts on the timeline for no good reason.
-
- · LoneTreeLeaf
- ·
I'm with @Wise on this one. TinyMCE should have been the standard editor that UNA provides out of the box. It's miles ahead of Quill and the devs actually listen to their community.
-
You would need to get your hands dirty deep within the Quill source code, this cannot be fixed by any means using the UNA frontend.
https://github.com/slab/quill/issues/1074#issuecomment-2393391892
-
Ok, so it's not a template thing?
-
Correct.