Jump to content

How to override Sanitizer maxLength for textareas?


The Amazing Hanna
 Share

Recommended Posts

Hi!

I'm building an application that contains a large number of text documents. It's a wiki style site where users can add documentation.

I thought I'd use the textarea field (with CKEditor), but it seems like the Sanitizer class automatically truncates any value to a maximum of 16384 characters. I'd like to increase this a bit as it seems possible that text documents could well be longer than this.

Is there any way to change the limit without making a custom fieldtype or directly changing the Sanitizer class?

If I make a custom fieldtype, how would I go about increasing the Sanitizer limit?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...