Hello,
is there any chance that the 10k character limit for the direct text input could be increased ?
Thanks
Hello,
is there any chance that the 10k character limit for the direct text input could be increased ?
Thanks
Have you considered using a Import Text component?
Unfortunately this is not a possible solution for us because our app updates on the fly the inputs so creating files and uploading them will slow down way too much the user experience.
I suppose you are directly embedding the viewer in your application, is that correct? If so there is no problem, the user won’t notice the file upload.
The TypeScript code would look like this:
const myLongText = "bliblablo";
const blob = new Blob([myLongText], {type: "text/plain"});
Then set the value of your file parameter to blob
(the parameter that corresponds to your Import Text component).
The file upload is automatically handled for you.
There will be a slight performance overhead due to the additional API call for the file upload, but for strings shorter than 10000 characters you can still use a direct text input.
Ok thanks, we’ll take that into account and compare with other solutions we have in mind in order to shorten the text input.