我怎样才能将列表项和标题一起添加,在下面的代码中我根本看不到 li

How can i add list items and heading together, in the below code i don't see li at all

{{ apos.area(data.page, 'body', { 小部件: { 'apostrophe-images': { 大小: 'full' }, 'apostrophe-rich-text' : { 工具栏: [ 'Styles', 'Bold', 'Italic', 'Link', 'Unlink','Table' ], 样式: [ { 名称: 'Heading', 元素: 'h3' }, { 名称: 'Paragraph', 元素: 'p' }, { 名称: 'Listitems', 元素: 'li' } ] } } }) }}

要将列表添加到要将 'NumberedList''BulletedList' 添加到配置中的工具栏数组的富文本小部件。

你的代码看起来像

{{ apos.area(data.page, 'body', { 
  widgets: { 
    'apostrophe-images': { size: 'full' },
    'apostrophe-rich-text': { 
      toolbar: [ 'Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Table', 'NumberedList', 'BulletedList' ], 
      styles: [
        { name: 'Heading', element: 'h3' },
        { name: 'Paragraph', element: 'p' }
      ] 
    }
  }
}) }}