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

Task list support #272

Open
BaldissaraMatheus opened this issue Feb 11, 2024 · 1 comment
Open

Task list support #272

BaldissaraMatheus opened this issue Feb 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@BaldissaraMatheus
Copy link

BaldissaraMatheus commented Feb 11, 2024

Is your feature request related to a problem? Please describe.
Currently there's no task list support in stacks-editor, as described in GFM dialect. Also, when typing [ ] in markdown mode, then switching to rich text mode, then going back to markdown mode, the text is changed to \[ \].

Describe the solution you'd like
Add checkbox tool that can be accessed through the rich text mode toolbar and brackets in markdown mode.

Describe alternatives you've considered
It seems like the editor has support for custom plugins, but I couldn't find any documentation on how to implement one. If it's not possible to add this feature, I'd ask for any orientation on how to accomplish that by creating a custom plugin for it

Additional context
The editor is being used in Tasks.md and this feature is being requested for different users

@giamir
Copy link
Contributor

giamir commented Mar 8, 2024

Hello @BaldissaraMatheus and sorry for the late reply.

While this feature request is certainly reasonable (at the time of writing) it is not in our roadmap and I don't expect it to be any time soon.

The Stacks Editor is built on top of prosemirror and you can extend it via writing your own plugins We don't have extended documentation on how to do that but you can look into our sample plugins to get an idea of how to build one. Be aware that you will need to familiarize yourself with prosemirror APIs in order to create a plugin.

I hope this is helpful. I will keep this issue open for now.
Feel free to circle back here in case you decide to go ahead and build a plugin.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants