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

Bug magnet does not appear with a right-click on a note-editable element #13

Closed
StephaneColson opened this issue Jul 27, 2016 · 2 comments

Comments

@StephaneColson
Copy link

My application under test uses summernote and some note-editable text area.

Bug magnet is not available as a right-click option in this area. See this chrome screenshot, but it's the same with Firefox.

nobugmagnetchrome

As a workaround, I just have to enter a character in the note-editable field and then I can access to bug magnet with a right-click.
I'm not sure if this is due to summernote or bug magnet. Sorry if I am wrong.

@gojko
Copy link
Owner

gojko commented Jul 28, 2016

wysiwig editors are typically using contenteditable html5 mode. bugmagnet works with contenteditable divs. If summernote is perhaps read only before you start typing and then going into contenteditable mode, this would cause that behaviour, but it's not something I can fix in bugmagnet. the 'note-editable' is something summernote specific, not really html5 standard, so I'm reluctant to add it directly to the core code. if this is critically important for you, you can create your own fork, and change https://github.com/gojko/bugmagnet/blob/master/src/chrome/chrome-menubuilder.js to include the widget in different contexts.

@gojko gojko closed this as completed Jul 28, 2016
@StephaneColson
Copy link
Author

Thanks for the answer. No this is not critical for me...I can live with that ;)

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