Dear anyone,
Your duolingo forum registration isn't automaticaly transferred to duome forum so in order to join duome forums you need to register with your existing or any other username and email; in any case it's advised that you choose a new password for the forum.
~ Duome Team

Spoiler Text

Ask, and we'll consider your request. Provide an accurate description of what you would like to do/have, and we'll consider implementing it, if this is technically possible.


User avatar
Basler Biker
Switzerland

Spoiler Text

Post by Basler Biker »

Can we have a new BBCode button for marking selected text as "spoiler" (click once to reveal)
As described here...

https://www.phpbb.com/customise/db/bbcode/new_spoiler


BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
HeyMarlana
Canada

Re: Spoiler Text

Post by HeyMarlana »

I'm curious for what reason? This is a language-learning forum. What could someone say that is potentially spoiling for the readers? Necessary on sites that particularly are used as book reviewing forums, TV show forums, movie forums...but here??

Remember...do something nice for yourself today.

User avatar
pawndemic
Germany

Re: Spoiler Text

Post by pawndemic »

HeyMarlana wrote: Mon Mar 07, 2022 7:27 pm

I'm curious for what reason?

Maybe for exercises and the solution is hidden, or for a given text and the translation in hidden.

native: 🇩🇪, B2 - C1: 🇬🇧 🇪🇸, A1: 🇫🇷 🇮🇹

User avatar
Basler Biker
Switzerland

Re: Spoiler Text

Post by Basler Biker »

HeyMarlana wrote: Mon Mar 07, 2022 7:27 pm

I'm curious for what reason? This is a language-learning forum. What could someone say that is potentially spoiling for the readers? Necessary on sites that particularly are used as book reviewing forums, TV show forums, movie forums...but here??

for this viewtopic.php?t=1924


BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
HeyMarlana
Canada

Re: Spoiler Text

Post by HeyMarlana »

I see, okay thank you both.

Remember...do something nice for yourself today.

User avatar
pawndemic
Germany

Re: Spoiler Text

Post by pawndemic »

Basler Biker wrote: Mon Mar 07, 2022 8:36 pm

for this viewtopic.php?t=1924

I think it is not a good idea in a public area to refer to something which has an restricted access. Most user, inlcuding myself, can't see what is behind the link and will only see:

You are not authorised to read this forum.

Indeed, not a good idea: but here is some spoiler text based example of multiple choice
*** 3 *** Lena Ja, …….. * (which asnwer fits best)
KO A) sedan två månader.
KO B) från en månad.
OK C) sedan en månad

native: 🇩🇪, B2 - C1: 🇬🇧 🇪🇸, A1: 🇫🇷 🇮🇹

User avatar
luo-ning

Re: Spoiler Text

Post by luo-ning »

pawndemic wrote: Mon Mar 07, 2022 8:57 pm

Indeed, not a good idea: but here is some spoiler text based example of multiple choice
*** 3 *** Lena Ja, …….. * (which asnwer fits best)
KO A) sedan två månader.
KO B) från en månad.
OK C) sedan en månad

Ooh that's pretty handy.

||spoiler||

spoiler

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Basler Biker
Switzerland

Re: Spoiler Text

Post by Basler Biker »

luo-ning wrote: Mon Mar 07, 2022 9:37 pm
pawndemic wrote: Mon Mar 07, 2022 8:57 pm

Indeed, not a good idea: but here is some spoiler text based example of multiple choice
*** 3 *** Lena Ja, …….. * (which asnwer fits best)
KO A) sedan två månader.
KO B) från en månad.
OK C) sedan en månad

Ooh that's pretty handy.

||spoiler||

spoiler

I wonder what html is generated to achieve this ;-)


BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
luo-ning

Re: Spoiler Text

Post by luo-ning »

Basler Biker wrote: Mon Mar 07, 2022 9:42 pm

I wonder what html is generated to achieve this ;-)

Well, you're in luck!

Code: Select all

<span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">spoiler</span>

You can try Ctrl+Shift+C, then click an element on the page to find out how the sausage is made 😜

🦀 Pensando en la inmortalidad del cangrejo 🏴‍☠️ Flags Are Not Languages

User avatar
Basler Biker
Switzerland

Re: Spoiler Text

Post by Basler Biker »

luo-ning wrote: Mon Mar 07, 2022 9:49 pm
Basler Biker wrote: Mon Mar 07, 2022 9:42 pm

I wonder what html is generated to achieve this ;-)

Well, you're in luck!

Code: Select all

<span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">spoiler</span>

You can try Ctrl+Shift+C, then click an element on the page to find out how the sausage is made 😜

would you know how to apply this to hide the answer cell in a "pipe"-generated table such as this one

question......answer

BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

User avatar
pawndemic
Germany

Re: Spoiler Text

Post by pawndemic »

Nevertheless looks pretty cool :)

native: 🇩🇪, B2 - C1: 🇬🇧 🇪🇸, A1: 🇫🇷 🇮🇹

User avatar
Basler Biker
Switzerland

Re: Spoiler Text

Post by Basler Biker »

Basler Biker wrote: Mon Mar 07, 2022 9:42 pm
luo-ning wrote: Mon Mar 07, 2022 9:37 pm
pawndemic wrote: Mon Mar 07, 2022 8:57 pm

Indeed, not a good idea: but here is some spoiler text based example of multiple choice
*** 3 *** Lena Ja, …….. * (which asnwer fits best)
KO A) sedan två månader.
KO B) från en månad.
OK C) sedan en månad

Ooh that's pretty handy.

||spoiler||

spoiler

I wonder what html is generated to achieve this ;-)

This is the generated HTML

Code: Select all

<span style="color:#FF8000"><span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">KO</span></span> A) sedan två månader.<br>

BB - Basler Biker - Positivity and constructiveness will prevail
Native :belgium: :netherlands: / fluent :fr: :de: :uk: / learning :sweden: / fan of :switzerland: (bs/bl)

Post Reply

Return to “Requests new Duome features”