Todo Block

描述

Gutenberg is a great block editor but it does not come with a todo block.

You can now create to-do lists in WordPress Gutenberg editor.
Your todo checkboxes will appear both on the frontend and backend. It will even keep the current state of the checkbox when shown on the frontend.

Logged-in users can save their checkbox selections (if enabled per checklist).

You can use this block to:

  • Add tasks to your posts and pages
  • Create a checklist of items
  • Let logged-in users save their selections
  • Set goals and track progress

屏幕截图

  • The ToDo block on the backend.
  • The ToDo block on the frontend.

区块

该插件提供了 2 个区块.

  • Checklist (Todo List) A group of checkboxes
  • Checkbox (Todo Item) Checkbox for Todo List

安装

  1. Upload the plugin files to the /wp-content/plugins/todo-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

常见问题

What is the minimum WordPress version?

6.3

Can users save their checkbox state?

Yes. Enable the “Enable Save” toggle in the Checklist block settings. Logged-in users will have their selections saved per user.

评价

2024 年 7 月 5 日 1 回复
I does not work on latest WP and PHP 8.2. Added the todo list but didn’t show on the post
2024 年 5 月 7 日 1 回复
Things I Wish: I could use markdown to insert a checkbox, I should be able to type [] followed by a spacebar for example to insert or maybe [ ] followed by a spacebar I could double tap enter to exit the block (instead of just keep creating new checkboxes) Things I Like: Read only option No lag Light in plugin size
阅读所有3条评价

贡献者及开发者

「Todo Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Todo Block」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.0

  • Fix: Press Enter to create new checkbox items
  • Fix: Support multiple todo lists on the same post/page
  • Fix: Per-user save state now works correctly for all users
  • Fix: Editor UX improvements (cursor, full-width text input)
  • Fix: Internationalization loading
  • Improvement: Use WordPress built-in block icons
  • Improvement: Upgraded build tooling

1.1.1

  • Added blueprints

1.1

  • Change tested up to

1.0.6

  • Remove console.log
  • Add Youtube URL

1.0

  • Release