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

Make toolbar state updater configurable #35

Open
umaranis opened this issue Apr 1, 2023 · 0 comments
Open

Make toolbar state updater configurable #35

umaranis opened this issue Apr 1, 2023 · 0 comments

Comments

@umaranis
Copy link
Owner

umaranis commented Apr 1, 2023

Toolbar is configurable in the sense that we can choose which commands to include. The state updater (StateStoreRichTextUpdator.svelte) for the toolbar is not. It tracks and updates all the state stores irrespective of the commands being included in the toolbar.

This is a concern from tree-shaking point of view and can lead to extra code being bundled.

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