Skip to content

Conversation

treardon17
Copy link

In the app I'm working on, we allow styling markdown via the use of classes, but we want to limit which classes can be used so customers can't apply styles to their markdown that we don't allow. Looks like there was a question about something similar to this feature here #112. This PR will not affect current behavior, but it adds a new option to compliment allowedAttributes called allowedAttributeValues. This follows the same pattern as allowedAttributes but will only look at the values instead of the keys.

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

Successfully merging this pull request may close these issues.

1 participant