Skip to content
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

Document lists should have a “simple list” config option #14633

Closed
Witoso opened this issue Jul 21, 2023 · 1 comment
Closed

Document lists should have a “simple list” config option #14633

Witoso opened this issue Jul 21, 2023 · 1 comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:improvement This issue reports a possible enhancement of an existing feature.

Comments

@Witoso
Copy link
Member

Witoso commented Jul 21, 2023

As we decided to make the Document list the only plugin that introduces the lists, we need to add a config option that still allows creating simple lists.

Why?

Integrators may want to allow simpler content editing, and block creation of blocks in the lists. We have a similar use case in our comments' system. You rarely may want to have a complex markup in small editors. etc.

Scope

  • This option should be opt-in. By default, lists will allow blocks.
  • After setting this option
    • I can only insert list items. Simplified data output <ul><li>a</li><li>b</li></ul> (for ol as well).
    • Typing actions that we have in the document lists (e.g., enter+backspace creates a block) should work differently (as current lists).
  • Documentation.
@Witoso Witoso added the type:improvement This issue reports a possible enhancement of an existing feature. label Jul 21, 2023
@Witoso
Copy link
Member Author

Witoso commented Jul 24, 2023

Somehow it duplicated itself: #14634

@Witoso Witoso closed this as completed Jul 24, 2023
@Witoso Witoso added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:improvement This issue reports a possible enhancement of an existing feature.
Projects
None yet
Development

No branches or pull requests

1 participant