editor-js / editor-js/editorjs-php

Recursive tool support?

Open
#57 2 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
PHP
Stars
264
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I've been struggling to write a configuration for the nestedList tool plugin.

At first I thought the documentation said this was possible with "data" and "-".

But after looking at the example and struggling, I'm wondering if I misinterpreted the docs.

Has anybody successfully written a configuration for something like this

- content1
- content1.1
- content2

```
"type": "nestedList",
"data": {
"style": "unordered",
"items": [
{
"content": "content1",
"items": []
},
{
"content": "content1.1",
"items": [
{
"content": "content2",
"items": []
}
]
}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.