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.

how to send a multi-line message in the chat-box

3 posters

Go down

Solved how to send a multi-line message in the chat-box

Post by hbghlyj August 20th 2021, 4:31 pm

Hello,
Can I send a multi-line message in the chat-box Smile
I tried Ctrl+Enter and Shift+Enter but neither starts a new line.
If it is not supported, is it possible by adding a script to head of the chatbox?
Also, how can I add a button to refresh manually chatbox (iframe) but not refreshing the parent document (top)?


Last edited by hbghlyj on August 26th 2021, 4:36 pm; edited 1 time in total
hbghlyj
hbghlyj
Forumember

Male Posts : 32
Reputation : 1
Language : English+Chinese

View user profile https://cjhb.666forum.com/

Back to top Go down

Solved Re: how to send a multi-line message in the chat-box

Post by Ape August 20th 2021, 6:17 pm

Right now NO you can not add a line in the chat box the chat box is made for only small amounts of text at a time.

It would be nice to have the right to add more lines before you post your comment's

Some one with good javaScript knowledge could maybe help you but I could not say who could do it.

Have a great weekend.


how to send a multi-line message in the chat-box Left1212how to send a multi-line message in the chat-box Center11how to send a multi-line message in the chat-box Right112
how to send a multi-line message in the chat-box Ape_b110
how to send a multi-line message in the chat-box Keep_s10
how to send a multi-line message in the chat-box Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 17655
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha

View user profile http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: how to send a multi-line message in the chat-box

Post by pedxz August 26th 2021, 4:26 pm

Hello @hbghlyj,

Create a new Javascript page in the chatbox and use:
Code:
(function($) {
    'use strict';

    $(function() {

        var $message = $('#chatbox_footer').find('[name="message"]');

        $message
            .replaceWith('<textarea id="message" name="message" placeholder="Your message here" class="post" autocomplete="off" style="font-weight: normal; font-style: normal; color: rgb(51, 51, 51);"></textarea>');

    });
}(jQuery));
pedxz
pedxz
Forumember

Posts : 678
Reputation : 136
Language : 🇵🇹

View user profile https://www.forumotion.com/create-forum/modernbb

skouliki, Ape, TonnyKamper and hbghlyj like this post

Back to top Go down

Solved Re: how to send a multi-line message in the chat-box

Post by Ape August 26th 2021, 5:49 pm

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


how to send a multi-line message in the chat-box Left1212how to send a multi-line message in the chat-box Center11how to send a multi-line message in the chat-box Right112
how to send a multi-line message in the chat-box Ape_b110
how to send a multi-line message in the chat-box Keep_s10
how to send a multi-line message in the chat-box Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 17655
Reputation : 1884
Language : fluent in dork / mumbojumbo & English haha

View user profile 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