mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
feat(editor): increase editor byte limit to 5MB and implement UTF-8 truncation for document content
This commit is contained in:
parent
cf8a2d0759
commit
640238e1af
4 changed files with 110 additions and 29 deletions
|
|
@ -45,6 +45,7 @@ export type EditorContent = {
|
|||
chunk_count: number;
|
||||
truncated: boolean;
|
||||
viewer_mode?: "plate" | "monaco";
|
||||
editor_plate_max_bytes?: number;
|
||||
};
|
||||
|
||||
// Same endpoint the UI hits when a user opens a document in the dashboard.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue