diff --git a/Text editor.md b/Text editor.md index a02c7d5..7fe4511 100644 --- a/Text editor.md +++ b/Text editor.md @@ -6,4 +6,20 @@ CKEditor supports markdown-like editing experience. It recognizes syntax and aut [[gifs/autoformat.gif]] -Complete documentation for this feature is available in [CKEditor documentation](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html). \ No newline at end of file +Complete documentation for this feature is available in [CKEditor documentation](https://ckeditor.com/docs/ckeditor5/latest/features/autoformat.html). + +## Cut selection to sub-note + +One of the common situations in Trilium is when you're editing a document and it gets somewhat large so you start splitting it up into subnotes - the process is essentially like this: + +* select the desired piece of text and cut it into clipboard +* create new subnote & give it name +* paste the content from clipboard into subnote + +Trilium provides a way to automate this: + +[[gifs/cut-to-subnote.gif]] + +You can notice how heading "Formatting" is automatically detected and new subnote is named "Formatting". + +This functionality is bound to `CTRL-P` keyboard shortcut. If there's no selection and you press this shortcut, Trilium will create empty subnote. This also works with `CTRL-O` shortcut - the only difference is that new note is created next to the current instead of inside the current. \ No newline at end of file diff --git a/gifs/cut-to-subnote.gif b/gifs/cut-to-subnote.gif new file mode 100644 index 0000000..907680e Binary files /dev/null and b/gifs/cut-to-subnote.gif differ