mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
tweaks for the code preview
This commit is contained in:
@@ -195,7 +195,7 @@ export default class NoteDetailWidget extends TabAwareWidget {
|
||||
const noteComplement = await this.tabContext.getNoteComplement();
|
||||
|
||||
if (note.hasLabel('readOnly') ||
|
||||
(noteComplement.content && noteComplement.content.length > 10000)) {
|
||||
(noteComplement.content && noteComplement.content.length > 30000)) {
|
||||
type = 'read-only-code';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user