Nested Ordered Lists for Block Editor

描述

Extends the list block in Block Editor with options for numbered ordered lists such as 1.1, 1.2, 1.3, 2.1 etc.! Use individual numbers up to the 4th level. Also reversed lists (2.2, 2.1, 1.3, 1.2, 1.1 etc.) and additional list-styles (like upper- and lowercase roman and alphabet) are supported.

Usage

  1. Open a page where you want to use nested ordered lists.
  2. Add a normal list block.
  3. Choose ordered list to be able to use its list-style.
  4. Check “Use nested ordered lists” on the right to enable them.

屏幕截图

安装

  1. Upload “nested-ordered-lists-for-block-editor” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. No configuration required. Use it straight away.

常见问题

Can I use this also in Divi, Elementor, other PageBuilder or the Classic Editor?

No, the plugin is intended solely for Block Editor aka Gutenberg and always will be.

Can I use other blocks between the list items, e.g. for a description text?

Yes, as follows: enter the desired content between the individual list blocks. The list blocks will now all begin with “1”. For the 2nd list block, enter the number 2 in the “Initial value” field. This will update the view in the block accordingly. Now enter “3” in the next list block, etc.

Can I use different list-styles in one list?

Yes, since WordPress 6.3 you could create list where this plugin supports to set different list-styles for each list.

评价

2023 年 4 月 4 日
This is a brand new plugin, and there was nothing else I saw to fit my needs, so I downloaded it. It does what I need it to do, which is use Roman numerals. But I had to figure out how to tweak it, as it made even the second and third tiers of the list all roman numerals. Somehow I missed how and where to find the plugin. I thought it was a separate block. but it integrates with the existing list block. I figured out how to get my list to look the way I want it to look, so things are fine.
2023 年 3 月 14 日 1 回复
Ein toller Plugin, lange danach gesucht. Einfach zu benutzen. Nachteil: in der WordPress-App funktioniert der Plugin nicht, es zeigt eine Fehlermeldung: "Bei der Anzeige des Blocks ist ein Problem aufgetreten". Da ich überwiegend über App meine Beiträge schreibe, kann ich den Plugin nicht nutzen.
阅读所有2条评价

贡献者及开发者

“Nested Ordered Lists for Block Editor” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Nested Ordered Lists for Block Editor」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Nested Ordered Lists for Block Editor”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.0

  • Initial release

1.0.1

  • Added italian as language
  • Compatibility set for WordPress 6.2
  • Updated dependencies
  • Fix for: Nested list style should override parent’s (thanks @vHeemstra)

1.0.2

  • Optimized handling to enable the ordered styles
  • Compatibility set for WordPress 6.3
  • Compatible with WordPress Coding Standards
  • Updated dependencies
  • Fixed loading of scripts in Block Editor

1.0.3

  • Compatibility set for WordPress 6.4
  • Compatibility with WordPress Coding Standards 3.0

1.1.0

  • Added option to inherit settings to sublists (default enabled)
  • Optimized handling for sublists since WordPress 6.3
  • Enabling a custom list style enabled the nested lists now automatically
  • Changed text-domain to match WordPress repository requirements
  • Remove language files from package, translations are completely run via WordPress translations
  • Updated dependencies

1.1.1

  • Compatibility set for WordPress 6.5
  • Updated dependencies
  • Fixed loading of JSON translations for block editor