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

    Textarea in templates

    avatar
    Guest
    Guest


    Solved Textarea in templates

    Post by Guest August 2nd 2023, 9:34 am

    Where can I locate textarea (place where you write your message before positing it) in templates?

    Textarea in templates Screen29


    Last edited by Vilgefortz on August 2nd 2023, 11:52 am; edited 1 time in total
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1575
    Reputation : 266
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Textarea in templates

    Post by Razor12345 August 2nd 2023, 9:41 am

    Good morning!

    AP - Display - Templates - Post & Private Messages - posting_body

    Code:
    <div id="textarea_content" class="posting-block">
                   <textarea id="text_editor_textarea" name="message" rows="15" cols="9">{MESSAGE}</textarea><br />
                </div>

    That's all that's available to us

    AP - Display - Templates - General - viewtopic_body

    Code:
    {QUICK_REPLY_FORM}

    That's all that's available in a quick response form



    Textarea in templates Screen51
    avatar
    Guest
    Guest


    Solved Re: Textarea in templates

    Post by Guest August 2nd 2023, 10:43 am

    I tried to apply
    Code:
    spellcheck="true"
    attribute for textarea but it doesn't work for some reason. blackeye
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1575
    Reputation : 266
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Textarea in templates

    Post by Razor12345 August 2nd 2023, 11:10 am

    If you try to change this setting in the developer tools to "true" or "", you will see that you will fail to do so.

    I think it might be due to the fact that all the customization of this field is done on the backend side. Or, for security reasons, this parameter is set forcibly via JS to which we don't have access.

    They were right to block this attribute for editing - it's very old and hasn't been updated in a long time.

    --------------
    Better recommend users install one of the browser extensions that checks grammar.
    I can't recommend it - most of them require registration.



    Textarea in templates Screen51
    avatar
    Guest
    Guest


    Solved Re: Textarea in templates

    Post by Guest August 2nd 2023, 11:52 am

    Okay, thanks for the info.
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1575
    Reputation : 266
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Textarea in templates

    Post by Razor12345 August 2nd 2023, 11:53 am

    You are welcome!

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



    Textarea in templates Screen51

      Current date/time is September 23rd 2024, 12:27 pm