You have to provide a new AntiSamy configuration with a
bigger default size.
A quick hack is to change maxInputSize in
antisamy-nuxeo-policy.xml in
nuxeo-platform-htmlsanitizer-5.3.1.jar
Or use extension points to contribute a new file from your
own bundle. See
http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.1/viewExtensionPoint/org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerService--antisamy

But you really shouldn't upload 3 MB in a text field, you
should use a File for this. To make the importer always use
a File you can change the configuration of the file service
configuration to not use a Note for .txt files. You have to
disable the NoteImporter plugin for that. See
http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.1/viewExtensionPoint/org.nuxeo.ecm.platform.filemanager.service.FileManagerService--plugins


---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to