Another Tip - Add Copy Text feature for free!

Hi Everyone,

Hope you’ll well!

I like to share how I added Copy Text feature to my app using Better Web view component that Pragmaflow created!

See it here in action ( Clonable too ):

Here’s the code that I have added inside the component :

Copied from here and I edited a bit.

<!DOCTYPE html>
  font-family: 'Oswald', sans-serif;
p {

<link href='' rel='stylesheet' type='text/css'> 

<script src=""></script>


<p id="p1">name</p>

<button onclick="copyToClipboard('#p1')">Copy</button>


function copyToClipboard(element) {
  var $temp = $("<input>");

In here replace the name with the magic text!
And don’t paste this code directly to the component. When you’ll try to paste the code you’ll will see a text that say encode from here. Click Here and you’ll will go to a site and you’ll can add this code there. Then press Encode and you’ll will get the encoded result. Then copy that result and paste it in the component and find the place where the name is located in the encoded result ( you’ll can give it a short name to find it easier. Like Na ) and replace there with magic text.

After encoding ( added the encoded result too, if you’ll doesn’t need to encode ) :


In here replace the na with magic text! ( You can find it on here in the encoded result : 3D%22p1%22%3Ena%3C% )

Just adding another three examples that you can use this component : Some Tips and Tricks by this Semi Noob! 😅 ( In here Tip 19 , 20 and 21 )

Hope this will work greatly!

Thank you!

Have a great weekend!


Great thanks always for your contributions, do you know how to limit the size of a pdf that a user can upload?

1 Like

Your Welcome!

As far as I’m aware, not possible at the moment! This could be a feature request!

But I guess you can do this with Adalify!


cool … thanks bro!

1 Like