#3063: Add textarea id fckeditor.js - code fix included in description!
------------------------------------------+---------------------------------
Reporter: dan8080 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone: FCKeditor 2.6.5
Component: General | Version: FCKeditor 2.6.4
Keywords: fix textarea id fckeditor.js |
------------------------------------------+---------------------------------
In line 92 of fckeditor.js (v 2.6.4), I suggest specifying an id for the
textarea. Right now only the name is specified. So the code would become:
sHtml += '<textarea id="' + this.InstanceName +
'" name="' + this.InstanceName +
'" rows="4" cols="40" style="width:' + sWidth +
';height:' + sHeight ;
This change makes it easier for other code to reference the textarea
directly, in order to interact with it programmatically, which is useful.
-Dan
[email protected]
--
Ticket URL: <http://dev.fckeditor.net/ticket/3063>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac