editor.js not initiatializing
editor.js not initiatializing
baggat
Posts: 5Questions: 2Answers: 0
I am trying to create a datatable on a sharepoint page and everything works well untill i try initializing the editor on the page and it is giving SCRIPT438: Object doesn't support property or method 'Editor' error. I am thinking the editor.js is not loading but the path is correct and js is sitting in sp library. Any ideas?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It does indeed sound like the Editor library is not loading. If you look at the console in your browser, what does it say.
Can you link to the page so we can take a look?
Allan
unfortunately i am on company intranet sp site. Here is the code i am using
the console gives this mesage
SCRIPT438: Object doesn't support property or method '_constructor'
dataTables.editor.min.js, line 52 character 466
Ah. The issue is here:
It needs the
new
keyword:Allan
Thanks so much Allan one last question, i hope, Does the editor have issues when it is instantiated in a sharepoint webpart. I read somewhere it cannot do table within a table.
Can you please confirm?
To be honest, I'm not sure. i haven't used Editor in SharePoint myself. However, given that it is being executed int he browser, I can't see why there would be any issues.
Allan