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.
The forum of the forums
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 Sun Mar 02, 2014 2: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 : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Font Size keeps changing to different numbers

    Post by SLGray Sun Mar 02, 2014 3: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 Sun Mar 02, 2014 4: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 : 51498
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Font Size keeps changing to different numbers

    Post by SLGray Sun Mar 02, 2014 7: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 Sun Mar 02, 2014 10: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 Mon Mar 03, 2014 12: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 Mon Mar 03, 2014 1: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 Mon Mar 03, 2014 1:49 pm

    You're welcome I love you

    Topic solved and archived

      Current date/time is Sun Sep 22, 2024 11:27 am