Download & Extend

this.getParentElement is not a function

Project:Htmlarea
Version:5.x-2.0-beta2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Latest Drupal/HtmlArea/Xinha, and editing does not work. The editing bar is shown, and the html is rendered, but cannot be edited except for the text. This is the only error that shows in the console is

Error: this.getParentElement is not a function
Source File: http://dev.....com/modules/htmlarea/xinha/XinhaCore.js
Line: 1926

each time the cursor is clicked in the text area. Is there a version of xinha known to work with 5.x-2.0-beta2, or is this a different problem?

Comments

#1

I'm also getting this exact error and wanted to add that IE7 loses the border around the textarea, while Firefox does not.

this.getParentElement is not a function error occurs in XinhaCore.js lines 1153,1335,1732,1926 and 2264

#2

Same thing here, I also downloaded the hotfix from the xinha site just in case it did anything

I am getting the same javascript error on the console, and the only things that work is direct text editing and image resizing in FF in IE only text editing