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

Prevent static class names from getting mangled in build #179

Merged
merged 1 commit into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. Prevent static class names from getting mangled in build

    Fixes #178
    
    In certain build setups, we can't use `function.name`, since the
    function will be mangled/minified, and so to ensure the MuiTiptap
    classes (like `MuiTiptap-RichTextField-content`) are static and
    consistent, we have to hard-code the component names as strings.
    sjdemartini committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    da66ac0 View commit details
    Browse the repository at this point in the history