Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Improved todo list styles #144

Merged
merged 3 commits into from
Aug 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/_snippets/features/todo-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ), {
Expand All @@ -22,7 +22,7 @@ ClassicEditor
'|',
'bulletedList',
'numberedList',
// 'todoList',
'todoList',
'|',
'link',
'insertTable',
Expand Down
2 changes: 1 addition & 1 deletion theme/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

.ck .todo-list {
list-style: none;
position: relative;
}

.ck .todo-list > li {
Expand Down Expand Up @@ -55,6 +54,7 @@
}

.ck .todo-list__checkmark::after {
box-sizing: content-box;
pointer-events: none;
content: '';
position: absolute;
Expand Down