diff --git a/docs/_snippets/features/todo-list.js b/docs/_snippets/features/todo-list.js index 92d32b7..d713681 100644 --- a/docs/_snippets/features/todo-list.js +++ b/docs/_snippets/features/todo-list.js @@ -9,9 +9,9 @@ import { CS_CONFIG } from '@ckeditor/ckeditor5-cloud-services/tests/_utils/cloud import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor'; -// import TodoList from '@ckeditor/ckeditor5-list/src/todolist'; +import TodoList from '@ckeditor/ckeditor5-list/src/todolist'; -// ClassicEditor.builtinPlugins.push( TodoList ); +ClassicEditor.builtinPlugins.push( TodoList ); ClassicEditor .create( document.querySelector( '#snippet-todo-list' ), { @@ -22,7 +22,7 @@ ClassicEditor '|', 'bulletedList', 'numberedList', - // 'todoList', + 'todoList', '|', 'link', 'insertTable', diff --git a/docs/features/todo-lists.md b/docs/features/todo-lists.md index 5ac75df..cfc2cd9 100644 --- a/docs/features/todo-lists.md +++ b/docs/features/todo-lists.md @@ -4,7 +4,7 @@ category: features # To-do lists -The to-do list feature lets you create a list of interactive checkboxes with labels. It supports all features of regular lists so you can nest a to-do list together with bulleted and numbered lists in any combination. +The {@link module:list/todolist~TodoList to-do list} feature lets you create a list of interactive checkboxes with labels. It supports all features of regular lists so you can nest a to-do list together with bulleted and numbered lists in any combination. ## Demo @@ -12,7 +12,7 @@ The to-do list feature lets you create a list of interactive checkboxes with lab ## Keyboard support -You can check and uncheck a list item by using the Ctrl + Space (or + Space if you are using macOS) shortcut when the selection is in that item. +You can check and uncheck a list item by using the Ctrl + Space shortcut when the selection is in that item. ## Installation @@ -78,7 +78,7 @@ For nested lists: ### Model representation -From the technical point of view, to-do lists are built on top of the list feature. In the CKEditor 5 data model they are represented as a special `listType`, with an optional `todoListChecked` attribute: +From the technical point of view, to-do lists are built on top of the {@link module:list/list~List list feature}. In the CKEditor 5 data model they are represented as a special `listType`, with an optional `todoListChecked` attribute: ```html Foo