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.

Font Size keeps changing to different numbers

3 posters

Go down

Solved Font Size keeps changing to different numbers

Post by KidSasuke Sun Mar 02, 2014 8:37 am

So a few days ago I was going to change the size of my font to a different size like I always do. I went to click preview first, and noticed that it always keeps the change number size I put, but addd ".4232352312" or whatever after it making it not even show up and look like this:

Font Size keeps changing to different numbers 0n92N4u

Font Size keeps changing to different numbers AGXNfUT

Any solution you have is welcome, thank you.
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by SLGray Sun Mar 02, 2014 9:55 am

It is because font size can not be decimals.


Font Size keeps changing to different numbers 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 : 51573
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke Sun Mar 02, 2014 10:17 am

SLGray wrote:It is because font size can not be decimals.

I'm well aware of that. My problem is that it keeps changing my numbers into decimals by default when i'm not even entering them.
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by SLGray Sun Mar 02, 2014 1:48 pm

Do you mean when you pressing the font size button in the editor?


Font Size keeps changing to different numbers 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 : 51573
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke Sun Mar 02, 2014 4:41 pm

Hmm let me be more clear then. Okay, when I press the font size button in the editor, it comes out like this:

Very normal indeed, yes?

Font Size keeps changing to different numbers Mmwp

This what it looks like if you press preview or try to edit it after posting it:

Font Size keeps changing to different numbers 80uu

Font Size keeps changing to different numbers By1b

The size number becomes a decimal all the time and it gets very annoying having to change it back when you are trying to just look at a preview of your comment before posting, or needing to edit it for reasons.

Link to my forum: http://www.xenonduelacademy.com/
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by Ange Tuteur Mon Mar 03, 2014 6:29 am

Hi KidSasuke,

Try adding this to your scripts :
Administration panel > Modules > Javascript codes management > create a new script

Placement : in all the pages
Code:
$(function() {
    var a = $("#text_editor_textarea"), t;
    a.length && (t = a.val()) && $(function() {
       a.sceditor && a.sceditor("instance") && a.sceditor("instance").val(t);
    });
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by KidSasuke Mon Mar 03, 2014 7:47 am

Problem is now resolved! Thank you very much, Ange.
KidSasuke
KidSasuke
Forumember

Posts : 44
Reputation : 1
Language : English

Back to top Go down

Solved Re: Font Size keeps changing to different numbers

Post by Ange Tuteur Mon Mar 03, 2014 7:49 am

You're welcome I love you

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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