• Resolved tdesign11

    (@tdesign11)


    Hello, how can i create a cell which has a copy to clip board button. So what ever information that is in the cell, a visitor can click the button in that cell and it copies the information? please!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I’m not aware of a directly usable solution here. Your best chance probably is some HTML and JavaScript code (you could maybe try finding examples on Google) that you then paste into the table cell.
    Sorry for not having better news here.

    Regards,
    Tobias

    Thread Starter tdesign11

    (@tdesign11)

    Hi, thanks for your rapid response. I found his from google. How can i implement this in to a cell? Can i paste java into a cell? Please advise, thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, you can HTML code (and with that JavaScript code, wrapping in <script> tags) into table cells.
    Just be aware that line breaks might be causing trouble, so that it might be worth considering to use the modified Shortcode

    [table id=123 convert_line_breaks=false /]
    

    (with the correct table ID) to show the table on a page.
    Most likely, you would only need the HTML code in the table cell and could put the JS code below the table on the page.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Copy to Clipboard’ is closed to new replies.