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

Cannot paste and drop down menu is not working #34

Closed
ronrun opened this issue Aug 31, 2017 · 5 comments
Closed

Cannot paste and drop down menu is not working #34

ronrun opened this issue Aug 31, 2017 · 5 comments

Comments

@ronrun
Copy link

ronrun commented Aug 31, 2017

Paste:
Firefox, IE, not working. But Chrome and Edge is normal.

Drop down menu
When clicked, it will reload the page. For example, I type "Hello", then want to change the color to be red, I click the color button, then the page reloads.

@Cerealkillerway
Copy link
Owner

Have you tried using latest materialnote release?

@ronrun
Copy link
Author

ronrun commented Sep 4, 2017

I just tried the latest version 2.0.0, still the same. About the drop down menu, I see the summernote buttons have <button type="button"... >, but materialNote's buttons don't . We know that button's default type is "submit", I think this caused the dropdown menu problem. Why you guys dont have the problem? How did u use it?

@ronrun
Copy link
Author

ronrun commented Sep 4, 2017

My solution for Drop menu is to find the line
class="waves-effect waves-light btn dropdown
It's
'<button class="waves-effect waves-light btn dropdown ' + (btnClassName ? btnClassName : '') + '"',
Add type="button"
'<button type="button" class="waves-effect waves-light btn dropdown ' + (btnClassName ? btnClassName : '') + '"',

Then drop menu works.

@ronrun
Copy link
Author

ronrun commented Sep 4, 2017

I also see that there was a same issue:

Dropdown menus submit form
#18 opened on 31 Aug 2016 by diegonc

Why the author don't fix this ?

@Cerealkillerway
Copy link
Owner

these should be fixed in latest release

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

2 participants