diff --git a/Text-editor.md b/Text-notes.md similarity index 76% rename from Text-editor.md rename to Text-notes.md index cc03326..330c814 100644 --- a/Text-editor.md +++ b/Text-notes.md @@ -1,11 +1,20 @@ Trilium uses awesome [CKEditor 5](https://ckeditor.com/ckeditor-5/) as its editing component. +## Read only vs. editing mode + +Text notes are normally opened in edit mode, however there are two cases when they are open in read only mode: + +* they are long and thus would take time to load so by default we open them as read only which is much quicker +* or the note has `readOnly` [[label|attributes]] + +In both cases it is possible to switch to editable mode again. + ## Autoformat CKEditor supports markdown-like editing experience. It recognizes syntax and automatically converts it to rich text. See it in action: [[gifs/autoformat.gif]] - +ode Complete documentation for this feature is available in [CKEditor documentation](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html). If the autoformat is not desirable for what you just wrote, you can press `CTRL-Z` which will un-autoformat the text to its original form. @@ -32,8 +41,4 @@ It is also possible to assign a keyboard shortcut for this action. Text notes can "include" another note as a read only widget. This can be useful for e.g. including a dynamically generated chart (from scripts & "render HTML" note) or other more advanced use cases. -This functionality is available in the block toolbar icon. - -## Read only mode - -To prevent accidental changes you can put text editor into read only mode by attaching `readOnly` [[label|Attributes]]. \ No newline at end of file +This functionality is available in the block toolbar icon. \ No newline at end of file