The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Problem with the forum "code" button

4 posters

Go down

Solved Problem with the forum "code" button

Post by Nyx. October 14th 2023, 11:32 pm

Hi, it's about the "code" button from the Post editor bar.


I am attaching a picture to show what the problem is.

Problem with the forum "code" button EqBgTcS


The problem is that instead of rendering the text in the code normally like this:
Code:
<div class="mm-mov chat"><b></b><div class="mm-mov-tt">Messenger (Nombre)</div><div class="mm-mov-txt">

<div class="mm-mov-bub"><tres><div>El tendido eléctrico está bien</div>
<div>Solo tomé tus sentidos</div></tres>

</div><div class="mm-mov-tip">...</div></div></div

All code is displayed in capital letters and creates an inconvenience when copying.

Thanks in advance for your help.


Last edited by Nyx. on October 16th 2023, 12:48 am; edited 1 time in total
Nyx.
Nyx.
Forumember

Posts : 29
Reputation : 1
Language : bulgarian

https://eveningstars.bulgarianforum.net

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by SLGray October 15th 2023, 1:51 am

Can you please post a link to a tropic on your forum that contains the code tags that is open to guests?


Problem with the forum "code" button Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51501
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Nyx. October 15th 2023, 2:01 am

Nyx.
Nyx.
Forumember

Posts : 29
Reputation : 1
Language : bulgarian

https://eveningstars.bulgarianforum.net

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by SLGray October 15th 2023, 8:17 am

So what happens when you copy and paste it form that topic?

This is what I get:

Code:
<div class="mm-mov chat"><b></b><div
class="mm-mov-tt">Messenger (Nombre)</div><div
class="mm-mov-txt">

<div class="mm-mov-bub"><tres><div>Ха на ляво, ха на дясно</div>
<div>те набиха ме прекрасно</div></tres>

</div><div class="mm-mov-tip">...</div></div></div>


Problem with the forum "code" button Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51501
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Razor12345 October 15th 2023, 9:38 am

Good morning!

The problem is that you have this code in your CSS:

Code:
.codebox{width:50%;margin:auto;text-transform:uppercase;text-align:-webkit-center}

Find and delete it.

Result after code deletion:

Problem with the forum "code" button Scree452


Problem with the forum "code" button Screen51
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1476
Reputation : 262
Language : Ukr, Rus, Eng
Location : Ukraine

Ape likes this post

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Nyx. October 15th 2023, 4:29 pm

Razor12345 wrote:Good morning!

The problem is that you have this code in your CSS:

Code:
.codebox{width:50%;margin:auto;text-transform:uppercase;text-align:-webkit-center}

Find and delete it.

Result after code deletion:

https://i.servimg.com/u/f16/20/20/43/41/scree452.png]


Thanks, removing this code fixes our problem. But, without it, the design of the spoilers is very disfigured.
Can you suggest a similar code that won't cause a problem?

I am attaching a picture of the spoiler design with the code:
Problem with the forum "code" button X2CnYl3

And without the code:
Problem with the forum "code" button Docy8Q6

I am attaching a link to the thread where a spoiler can be seen:
https://odnovreme.forumotion.eu/t2p24-topic#144
Nyx.
Nyx.
Forumember

Posts : 29
Reputation : 1
Language : bulgarian

https://eveningstars.bulgarianforum.net

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Razor12345 October 15th 2023, 5:51 pm

This code:

Code:
.codebox{width:50%;margin:auto;text-transform:uppercase;text-align:-webkit-center}

Replace by this:

Code:
.codebox.spoiler{width:50%;margin:auto;text-transform:uppercase;text-align:-webkit-center}

Result:

Problem with the forum "code" button Scree453


Problem with the forum "code" button Screen51
Razor12345
Razor12345
Support Moderator
Support Moderator

Male Posts : 1476
Reputation : 262
Language : Ukr, Rus, Eng
Location : Ukraine

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Nyx. October 16th 2023, 12:47 am


Thanks a lot for your help! The problem is solved!
Nyx.
Nyx.
Forumember

Posts : 29
Reputation : 1
Language : bulgarian

https://eveningstars.bulgarianforum.net

Back to top Go down

Solved Re: Problem with the forum "code" button

Post by Ape October 16th 2023, 1:49 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


Problem with the forum "code" button Left1212Problem with the forum "code" button Center11Problem with the forum "code" button Right112
Problem with the forum "code" button Ape_b110
Problem with the forum "code" button Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19143
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum