Maximum input length for customisation field

I’m building a custom liquid section, using blocks, I’m wondering if I can limit the amount of characters a user can enter when customising these blocks?

"blocks": [
    {
      "type": "testimonial",
      "name": "Testimonial",
      "settings": [
        {
            "type": "richtext",
            "id": "text",
            "label": "t:sections.testimonials.blocks.testimonial.settings.text.label",
            "default": "

I'm in love with this

"
        },
        {
          "type": "richtext",
          "id": "author",
          "label": "t:sections.testimonials.blocks.testimonial.settings.author.label",
          "default": "

Jane Doe
Ghent

"
        }
      ]
    }
  ],