Flamenco / stackeditpro

A version of stackedit with professional features.
19 stars 2 forks source link

editor truncates the text at 250 000 bytes #21

Open mtrevisan opened 1 year ago

mtrevisan commented 1 year ago

I see there's a byte limit in the editor, which is 250 000 bytes, after which the text is truncated. Is it possible to remove this limitation? Thank you

Flamenco commented 1 year ago

Hello @mtrevisan

This came from the source of the fork. Are you experiencing any issues with a document that size?

mtrevisan commented 1 year ago

The only thing is that I cannot write documents whose length is more than 250 kB.

Flamenco commented 1 year ago

@mtrevisan I am wondering if this was originally set because of local storage requirements or sync bandwidth. It makes me hesitant to change it on the master branch.

mtrevisan commented 1 year ago

I understand your concern, but I don't know the answer.

Flamenco commented 1 year ago

I will see about adding this as an "option" so as to not break existing code.