• Resolved shpress1

    (@shpress1)


    Hi,

    First, thanks very much to the author and community for this plugin and support.

    I have a question regarding embedding hyperlink into the text. To be clear, if I have this in my google sheet cell: http://www.yahoo.com – this works fine and there is a clickable link to yahoo.com. However, in my google sheet I also have cells that for example, shows: “Yahoo” – and there is an embedded hyperlink. This works in my google sheet just fine.

    However, when I connect it here. The embedded hyperlinks gets lost and it just shows the text “Yahoo” and not the link.

    [gdoc key=”https://docs.google.com/spreadsheets/d/1FfGgTYLcfrfMZzZb6euOGC5FbgfYszYa_ziRvzMjzQs/edit?usp=sharing” datatables_paging=”false”]

    For context, I also have the “TablePress Extension: Automatic URL conversion” plugin installed – however, I believe this only helps with making http://www.yahoo.com clickable.

    I did some searching – I found this thread form 4 years ago: https://ww.wp.xz.cn/support/topic/how-to-enable-html-in-the-inline-google-spreadsheet-viewer/
    I was not sure if it was for my problem but I added the provided code to my functions.php and it did not work:
    function decode_html_in_gdoc_table ($html) {
    return html_entity_decode($html);
    }
    add_filter(‘gdoc_table_html’, ‘decode_html_in_gdoc_table’);

    Any advice on making embedded hyperlinks work would be greatly appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Meitar

    (@meitar)

    I added the provided code to my functions.php and it did not work

    ¯\_(ツ)_/¯ Works for me.

Viewing 1 replies (of 1 total)

The topic ‘Embedding Hyperlink’ is closed to new replies.