• Resolved laquaze

    (@laquaze)


    Hello!

    I’m using Tablepress for different projects and am really satisfied with the functionality, thanks.

    Now I have a problem. I want to make in one of the columns (and there every single row) the text clickable, so I don’t have to insert that code every single time.
    The code looks like this:
    <textarea onclick=”this.select();” readonly=”readonly” class=”coupons”>xxxtextxxx</textarea>

    Was experimenting with the “Custom Commands” field a bit but can’t find an answer. Would be great if you can help me.

    Thanks in advance,
    Benjamin

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Benjamin,

    thanks for your question, and sorry for the trouble.

    This is not something where the “Custom Commands” can help. You would have to place the JS code for this directly into the page. Additionally, you’d need to add plain HTML code for the textarea into the table cell.

    Regards,
    Tobias

    Thread Starter laquaze

    (@laquaze)

    Hi Tobias,

    Oh, thanks for the quick response. Good to know that “Custom Commands” isn’t made for that, just hoped to reduce the HTML code length.

    Will try it with plain HTML now.

    Greetings from Austria,
    Benjamin

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Benjamin,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Clickable Textarea in defined column’ is closed to new replies.