I am a starter here. Looking to build editors for some domain specific requirements. To start with, can I build one with just the editor with only support of check list… Nothing else… no paragraph. In case it is empty, a place holder can be displayed.
As soon the the user types, it gets converted into a check list.
Thanks in advance.
Hi tushar! Welcome to the ProseMirror community!
If you’re just getting started, take a look at Tiptap, which is based on ProseMirror, but has more ready-to-use extensions. A checklist-only example can be found here:
You can combine that with the Placeholder extension:
If you want to go plain-ProseMirror, take a look at the source code of the Placeholder and TaskList/TaskItem extensions, probably helps to learn from them, too.
Thanks for pointing those out. I have checked them out. My only challenge is that tiptap examples are out of the box solutions are in either vue.js or react. I am looking at vanilla js samples to include in my existing application without making too many changes.
Regarding Placeholder - Can we have two or more placeholders in a single editor …