Within Wappler is there a way to set up a button that would copy a portion of the web page to the users clipboard in JPEG format?
If yes, Is there any wappler documentation I can look at to understand how to do this?
I’m also interesting in generating BBCODE and sending it to the users clipboard via a button press - does anyone know if that is do-able in Wappler natively?
On the calculator page after a user inputs their dough recipe if they want to share it on the pizza forum with other members trying to learn - they would press a copy BBcode button and then they could re-post it.
It would generate something like this (not sure if it will format right in this message).
Aha clear, well sure you can do that in Wappler it is just a matter of an expression with a lot of text concatinations.
So for example you can make a texarea and a copy to bbcode button, that have a dynamic event on click that sets the text of the texarea to the whole table thing but with the calculated values inside.
Then the users can just copy the textarea and paste it to their forum.
Hi Brad, you need to use dynamic attributes > value and mix static values with dynamic values.
Static values is the bbcode for table structure and dynamic values are the values from the input, just like: '[td]Flour (100%)[/td][td]' + value1 + '[/td][td]' + value2 + '[/td]'
etc.
I get it in theory but I’d be very interested to see how the copy to clipboard works on pressing a button. It would , I think, still have to be copy and pasted using keyboard commands in the normal way?
I am very impressed with that pizza calculator as it is. Fine piece of work.