A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

Error with EPiServer.Fields.LongString

Vote:
 
I get a javascript-error ('document' is null or not an object) in the editor when editing pages with both EPiServer.Fields.LongString and a XHTML-property. It looks like the getEditor(.) javascript-function doesn't work properly. Is there an fix out there?
#17343
Jan 25, 2005 14:51
Vote:
 
Have you solved this problem yet? There is a known problem with EPiFields in EPiServer 4.40/4.41, so if you are running one of those versions, here is what happens and how to solve it: When EPiFields is installed, it replaces one of the EPiServer editor's javascript files with a new file. This was necessary in pre-4.40 versions to fix a problem that occured when the editor was opened in dialogs. In 4.40 this is not needed anymore. In fact, when the EPiFields installer replaces the same script file in 4.40/4.41 it only causes problems. To fix the problem, just restore the original 4.40/4.41 script file on your site. The file in question is /Util/javascript/Editor/StartupScript.js and you can find the original file in the EPiServer download directory ("C:\Program Files\EPiServer4\Download").
#18007
Feb 18, 2005 11:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.