-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
NS_ERROR_FAILURE: in firefox #1061
Comments
I'll close that issue because it's a duplicate of #1000 |
Sorry, might not be a duplicate, apologies 🙏 |
I am having the same issue but when using he ordered list and unordered list buttons when the editor is used in angular. Any ideas on the issue? |
I get the same issue. You can reproduce the issue with this sample code. When click on the text to edit, the cursor is set to start or end of the text (cannot set the cursor to a specify position using mouse click). Use left/right arrow to move the cursor and you will see the error message in console.
|
I've been getting this issue with various interactions when using Medium Editor inside Angular 2 on Firefox. |
For reference, after simply typing, this error looks like: Just to re-iterate, this is only when used inside Angular 2 on Firefox. |
So, I was able to resolve this on: https://github.com/codiak/angular2-medium-editor When using Angular 2 in Firefox, the element that Medium Editor is applied on needs to be separate from anything Angular is trying to bind an input or output to. At least in the case of Angular 2, I wouldn't say this is a Medium Editor bug, more of a conflict between the two (which only occurs in Firefox!). |
I tried align text via medium-editor, this not work. I got error NS_ERROR_FAILURE on lines
return this.options.ownerDocument.execCommand(action, false, null);
You can try here: http://vh17725.hv4.ru/
How to fix it? Sorry for my english) Iam from Russia
The text was updated successfully, but these errors were encountered: