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

enhancement: separate out toolbar and editor components #25

Open
mateothegreat opened this issue Nov 23, 2024 · 0 comments
Open

enhancement: separate out toolbar and editor components #25

mateothegreat opened this issue Nov 23, 2024 · 0 comments

Comments

@mateothegreat
Copy link

Good work.. I've been tiptap'ing for a few months now and ended up writing my own wrapper but this looks promising!

I think it would be valuable to separate out the toolbar and the editor component so you can customize it (and then remove the fontawesome dependency too) to your needs.

We could then expose the tipex->tiptap->editor instance reference to call toggleItalic() etc.

Inspriation: https://github.com/infraregistry/app/blob/main/src/lib/components/editor/tiptap-editor/tiptap-editor-toolbar.svelte

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

1 participant