Font Size keeps changing to different numbers Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Font Size keeps changing to different numbers

    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Font Size keeps changing to different numbers

    Post by KidSasuke March 2nd 2014, 3:37 pm

    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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Font Size keeps changing to different numbers

    Post by SLGray March 2nd 2014, 4:55 pm

    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.
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Font Size keeps changing to different numbers

    Post by KidSasuke March 2nd 2014, 5:17 pm

    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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Font Size keeps changing to different numbers

    Post by SLGray March 2nd 2014, 8: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.
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Font Size keeps changing to different numbers

    Post by KidSasuke March 2nd 2014, 11: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/
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Font Size keeps changing to different numbers

    Post by Ange Tuteur March 3rd 2014, 1:29 pm

    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);
        });
    });
    KidSasuke
    KidSasuke
    Forumember


    Posts : 44
    Reputation : 1
    Language : English

    Solved Re: Font Size keeps changing to different numbers

    Post by KidSasuke March 3rd 2014, 2:47 pm

    Problem is now resolved! Thank you very much, Ange.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Font Size keeps changing to different numbers

    Post by Ange Tuteur March 3rd 2014, 2:49 pm

    You're welcome I love you

    Topic solved and archived