Hi
We are using latest Asp.Net Core MVC with jQuery.
After focus out of the Text editor, if there is the text then it's give this error.
If I have commented _form.validate() from init method of JS file then error goes out.
I have facing this issue with SummerNote & CKEditor both editor.
How can I fix it?
3 Answer(s)
-
0
hi Can you provide steps to reproduce the problem?
-
0
Hi,
I have used the SummerNote Editor to take input.In the JS have initialize the SummerNote with following lines.
$('#editor').summernote({ height: "200px" });
Now whenever updating the text of editor and focus out event is occur for the editor it's give above jquery error.
Then after I have commented the line (_form.validate()) that validate the form,then error goes out.
Also try to put editor out side the,it is also working.
I don't event put any kind of validation for this field.I think it is firing some kind of validation for the editor.
-
0
hi, Solved this issue by ignoring the validation for the editor with follong lines.
_$form.validate({ ignore: ".ck-editor *" });