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

Ignore styles not handled by react-native-live-markdown #415

Open
BartoszGrajdek opened this issue Jul 3, 2024 · 0 comments
Open

Ignore styles not handled by react-native-live-markdown #415

BartoszGrajdek opened this issue Jul 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BartoszGrajdek
Copy link
Collaborator

Problem description

The issue is that while using live markdown input on web we're able to add styles that aren't being handled by the library. This can lead to some issues with the functionality of it.

How it should be working

The goal is to no-op any of the styles that aren't defined inside of the library, that's how it's handled on native. This means that on web there should also be some kind of function checking if the styles provided by the user are valid.

Additionally, we could throw a warning informing the user about ignored styles (on all platforms)

@BartoszGrajdek BartoszGrajdek added the enhancement New feature or request label Jul 3, 2024
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

1 participant