I’m using this example:
I think I minimally pulled the “customText” part into my code correctly.
As soon as I click on the text block , however, I keep getting ‘TypeError: undefined is not a function’ in Chrome.
I did an unminify.com pass on go-debug.js to see if it would help figure out what go is trying to do:
If I look in Chrome, “c” seems to be my HTML Div element I put on the page.
And it is true, it does NOT have “select()” method.
c.style.position = "absolute";
c.style.zIndex = 100;
c.className = "start";
c.textEditingTool = this;
c.qK = k;
if (d && void 0 !== c.onActivate) c.onActivate();
this.nh = c;
c.focus();
<font color="#ff0000"><b>c.select() <-- dies here. Why is it calling select()?! </b></font>
}
}
}
Any ideas?