Support » Plugin: Block Lab » Add links in text fields

  • Resolved kcaluwae

    (@kcaluwae)


    I want my users to be able to add links to the text they type in text fields or textarea fields.

    When I search how to do this I find references to the pro version (https://getblocklab.com/docs/fields/classic-text/) of the plugin but then I reach a dead end because it seems that the pro version has been abandoned.

    Will these options then make it to the free version or what will happen in the future?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @kcaluwae,
    Thanks for bringing this up, good question.

    It’s not necessary to use a Pro license.

    Using a Textarea field with block_value(), there isn’t any escaping that would strip an <a>.

    For example, adding this to a Textarea field:

    
    <a href="https://example.com">Click here</a>
    

    …you can then output it in the template with:

    
    echo block_value( 'example-textarea-field-name' );
    

    @ryankienstra, thanks, that’s a great workaround, but I was really looking for something that wouldn’t require any HTML-coding if possible.

    Are there no plans to provide a field with a rich text editor?

    The reason I ask is that I had this bunch of HTML code snippets that I had created for people who were not familiar with HTML-coding. All they had to do is replace the text in between the HTML-tags but this still caused problems sometimes as some tags sometimes got damaged.

    These blocks seemed like an ideal solution. I put all the HTML in the templates and users didn’t have to worry about it anymore. This would require them to do some HTML-coding again…

    It would be great if there was a solution where we could avoid this.

    • This reply was modified 2 months, 3 weeks ago by .
    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @kcaluwae,
    Yeah, it’d be nice if there was a field like that in the free version. But unfortunately there isn’t, and we don’t have plans for anything like that.

    @ryankienstra That’s too bad.
    And the pro version is definitely gone?

    Plugin Author Ryan Kienstra

    (@ryankienstra)

    Hi @kcaluwae,
    We’re still supporting existing Pro licenses, but unfortunately aren’t selling new ones.

    Sorry, I know it’s not great timing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.