-
Notifications
You must be signed in to change notification settings - Fork 748
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
how to change displayMode #79
Comments
@doudoucomic you need to change this code |
Would be better if that could be passed through with a property. otherwise this will vanish from your application should you ever decide to update your third party components. |
i was create a pull request for provide this issue, look that |
The project name is |
Hi @derit i wonder why passing a displayMode params to options doesn't work for me. |
@dimasabimanyy my merge request currently still open, you can't change display mode
see this change, you can clone my code and add to your project |
You can fork the plugin and replace the following line to make the editor work in 'web' mode: https://github.com/unlayer/react-email-editor/blob/master/src/index.js#L58 |
Can we please get this fixed and supported? I cannot believe you are hardcoding displayMode to email and not allowing us to use web. |
As a paid embed and an active PR its mad i still have to fork this to fix a hard coded parameter |
@adeelraza not sure if you are unlayer team, but since I saw you merge few PRs. Please consider merging this as well |
I didn't test this well (or really at all), but I think all you need to do is move the |
i want 'web' mode. but in react .i can't find this props?how to change?thanks
The text was updated successfully, but these errors were encountered: