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

Add SlashCommand to show a list of commands #470

Open
quankhuc opened this issue Aug 22, 2023 · 1 comment
Open

Add SlashCommand to show a list of commands #470

quankhuc opened this issue Aug 22, 2023 · 1 comment

Comments

@quankhuc
Copy link

The "Slash Command" has become more popular, with the ease of typing a simple "/" character to show a list of command suggestion. I wonder if you can add that as an extension. Tiptap is also looking to add that as an extension as well so it would be nice if this editor can support Slash Command
Describe the solution you'd like
I want a drop down list of commands shown to me when I type "/" in the editor. I also can search for command by typing commands alias. For example, if I type "/big heading", the command to set heading to level 1 shown up. I can choose this command by either click on it or hit the "Enter" key.

@okijhhyu
Copy link

U can use titptap extension command for this purpose. I use it so, but maybe it will be rewrote.

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

No branches or pull requests

2 participants