Update (list): Fix crash on list output

This commit is contained in:
2023-08-15 19:30:09 +08:00
parent ae11f4556e
commit b6ba3d2957
6 changed files with 34 additions and 18 deletions

View File

@@ -16,21 +16,21 @@
],
'level' => [1, 2, 3, 4, 5, 6],
],
'list' => [
'type' => [
0 => 'ordered',
1 => 'unordered',
],
'items' => [
'type' => 'array',
'data' => [
'-' => [
'type' => 'string',
'allowedTags' => 'i,b,a[href],code[class],mark[class]',
],
],
],
'list' => [
'style' => [
'type' => 'string',
'allowedValues' => ['ordered', 'unordered']
],
'items' => [
'type' => 'array',
'data' => [
'-' => [
'type' => 'string',
'allowedTags' => 'i,b,a[href],code[class],mark[class]',
],
],
],
],
'linkTool' => [
'link' => 'string',
'meta' => [