The Amazing Hanna Posted February 23, 2015 Share Posted February 23, 2015 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 More sharing options...
adrian Posted February 23, 2015 Share Posted February 23, 2015 This has been discussed a bit already: https://processwire.com/talk/topic/6771-max-size-textarea-field/ Not really sure why that limit as added to the sanitizer - perhaps file a github issue for Ryan to see if he might remove it, or make it configurable up to the 65,535 bytes that a MySQL text field can handle. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now