too big gap between post lines
Quote from bigworld on March 13, 2019, 12:03 amHi,
Another issue is too big gap between post lines. How to make it small (normal)?
My steps:
typing the first sentence -> Enter -> typing the second sentence -> Enter -> typing the third sentence, etc. -> Submit
“good” is what I want.
Thank you in advance.
Hi,
Another issue is too big gap between post lines. How to make it small (normal)?
My steps:
typing the first sentence -> Enter -> typing the second sentence -> Enter -> typing the third sentence, etc. -> Submit
“good” is what I want.
Thank you in advance.
Quote from bigworld on March 13, 2019, 12:15 amAnd another question: how to make the word auto-transfer to another line entirely? Now the word is divided into two parts without any rules. There is no problem in Latin, but the problem in my native language.
For example, a word “Glückwunsch” (not in latin) would look after auto-transfer to another line:
Glückw
unsch
Update: if I take away the code you gave me here, everything is OK. So this issue is coming with the code.
And another question: how to make the word auto-transfer to another line entirely? Now the word is divided into two parts without any rules. There is no problem in Latin, but the problem in my native language.
For example, a word “Glückwunsch” (not in latin) would look after auto-transfer to another line:
Glückw
unsch
Update: if I take away the code you gave me here, everything is OK. So this issue is coming with the code.
Quote from Asgaros on March 13, 2019, 11:35 amHello @bigworld
This is intended behavior of the WordPress core-editor. Pressing Enter adds a new paragraph. If you want to start a new line you have to press SHIFT + ENTER instead.
Regarding the word-break issue: I am not sure if I can fix this but I will have a look. Natural word-breaks are impossible because your browser does not know how word-breaks work for every language. Thats why they break words when there is no space. However, I will take a closer look.
Hello @bigworld
This is intended behavior of the WordPress core-editor. Pressing Enter adds a new paragraph. If you want to start a new line you have to press SHIFT + ENTER instead.
Regarding the word-break issue: I am not sure if I can fix this but I will have a look. Natural word-breaks are impossible because your browser does not know how word-breaks work for every language. Thats why they break words when there is no space. However, I will take a closer look.
Quote from bigworld on March 13, 2019, 3:40 pmThank you for a fast reply.
- If I use Shift+Enter there is the same big gap between lines. Please check it by yourself (your admin login & password are still available)
- Regarding the incorrect word breaking: the issue came with your code. I guess a browser is not in buisness. Take this code away, the problem disappears.
Thank you for a fast reply.
- If I use Shift+Enter there is the same big gap between lines. Please check it by yourself (your admin login & password are still available)
- Regarding the incorrect word breaking: the issue came with your code. I guess a browser is not in buisness. Take this code away, the problem disappears.
Quote from Asgaros on March 15, 2019, 5:15 am@bigworld The word-breaking is needed to break long words at the end of the post-container. Long links are basically considered as long words because there is no space between. Without it, the browser does not break the long link. But, if word-breaks are enabled, every word at the end of the post-container is getting broken as well. As a fallback you could use an url-shortener or insert the link via the link-button in the editor so you can assign the link to a text.
Regarding the spacing-issue: Can you make your forum available to the public so I can check it out? I cant sign into your page from China because Googles ReCaptcha is blocked here.
@bigworld The word-breaking is needed to break long words at the end of the post-container. Long links are basically considered as long words because there is no space between. Without it, the browser does not break the long link. But, if word-breaks are enabled, every word at the end of the post-container is getting broken as well. As a fallback you could use an url-shortener or insert the link via the link-button in the editor so you can assign the link to a text.
Regarding the spacing-issue: Can you make your forum available to the public so I can check it out? I cant sign into your page from China because Googles ReCaptcha is blocked here.
Quote from Asgaros on March 15, 2019, 8:37 am@bigworld
Please try the following code:
#af-wrapper .post-message p { margin: 0 !important; padding: 0 !important; }If it does not work you should contact the developer of your theme because some theme-logic (maybe script) seems to add big paddings or margins to paragraphs and/or linebreaks. Maybe there is some option in the theme-settings to control this spacing.
Please try the following code:
#af-wrapper .post-message p { margin: 0 !important; padding: 0 !important; }
If it does not work you should contact the developer of your theme because some theme-logic (maybe script) seems to add big paddings or margins to paragraphs and/or linebreaks. Maybe there is some option in the theme-settings to control this spacing.
Quote from bigworld on March 15, 2019, 9:11 amIt does not work.
Finally I deleted the code you gave me to solve the word-break issue cause it obviously brought a big gap problem.
Now I still have the word-break issue. Your advice to use the short links is unconvenient because I cannot control the length of the links that users will include in their answers.
Test: http://test-site.com/chart.php?key=YTo1OntpOjA7czoxOToiMTk3MC0wMS0wMSAwMDowMDowMCI7aToxO3M6MDoiIjtpOjI7czowOiIiO2k6MztzOjI6Il8xIjtpOjQ7czoxOiJmIjt9
It does not work.
Finally I deleted the code you gave me to solve the word-break issue cause it obviously brought a big gap problem.
Now I still have the word-break issue. Your advice to use the short links is unconvenient because I cannot control the length of the links that users will include in their answers.
Quote from bigworld on March 15, 2019, 9:13 amThere is the same issue if I put a long link into my answer here (see test above). Please use FireFox.
This is not a critical issue, but it needs to be solved in order to have a good forum view.
There is the same issue if I put a long link into my answer here (see test above). Please use FireFox.
This is not a critical issue, but it needs to be solved in order to have a good forum view.
Quote from Asgaros on March 15, 2019, 9:38 am@bigworld
Yes, I will fix this issue with the next update to ensure that long links will not break the layout. I will come back to you as soon as I have a css-fix for you. 🙂
Yes, I will fix this issue with the next update to ensure that long links will not break the layout. I will come back to you as soon as I have a css-fix for you. 🙂