-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support nestedlist NestedList 😀 #62
Comments
Hi @kepi, thank you for your comment 😄 The Editor.js team already provides an official plugin to add nested lists that we support, but I haven't had time to identify the differences between them and the one that you provided. As you pointed out, the purpose of custom renderers is to give you the flexibility to plug in whatever renderers you want to apply or even replace. That said, I'm not entirely a fan of supporting every plugin out there, so unless you convince me otherwise, I can't see this being added to the core. |
@kepi the directus plugin uses the nestedList as default but has also the option to enable the legacy list. You can do that in the settings for the field in directus and add the legacy list to it. @lightningspirit you said you already support nested list plugin? I couldn't find any render in this repo for nestedList blocks? |
@SimonHausdorf yes, I know. I wanted to use nested list is supported in this plugin by default with I understand you don't want support everything. It might be worth to support similar use cases with something like aliases support, but I don't feel I know enough to advocate for this. Thanks |
I do agree that we should open an issue with the directus plugin maker to render the |
Purpose
Description
In my Editor.js instance (installed through dimitrov-adrian/directus-extension-editorjs-interface NestedList is passed to blocks as
nestedlist
, not aslist
.This might be problem in above project, as it support both
list
(deprecated) andnestedlist
feature. I don't know enough to decide which approach is correct.Possible solution
I has been able to work around this easily (at least in the end :) ) with your custom renderers by simply using your
ListBlock
to rendernestedlist
. IMHO it would be great if you would do this by default. I tried to create PR, but hasn't been able to get it working.Feel free to close this as won't fix if this is result of non-standard approach in
directus-extension-editorjs-interface
.The text was updated successfully, but these errors were encountered: