nickv-nextcloud / talk_simple_poll

A simple chat based poll for Nextcloud Talk
GNU Affero General Public License v3.0
12 stars 3 forks source link

linebreaks #11

Open valueerrorx opened 4 years ago

valueerrorx commented 4 years ago

i'm just not able to figure out how to insert linebreaks in nextcloud-talk (nextcloud 18)

it is necessary to define possible answers but without linebreaks there is no way to do it..

you could provide alternative ways like a

answer1 #answer2

maybe i'm just stupid but HOW do i insert linebreaks? (tried with ctrl-enter alt-enter)

nickvergessen commented 4 years ago

Try shift + enter :wink:

valueerrorx commented 4 years ago

damn... thx for the quick reply!!!! (i could swear i tried that one... haha)

i just opened the editor to change the line to: $options = explode("#", $payload);

thx again! nice little script!

Screenshot_20200402_122759

valueerrorx commented 4 years ago

(added this tip to the help command for my users )

nickvergessen commented 4 years ago

Want to send a PR and fix it in https://github.com/nickv-nextcloud/talk_simple_poll/blob/master/lib/Command/Poll.php#L50

Sounds useful

XueSheng-GIT commented 2 years ago

Shift+Enter typically isn't available on mobile devices. Would be good to have an alternative method available.