Opened 15 years ago

Closed 15 years ago

#3063 closed New Feature (wontfix)

Add textarea id fckeditor.js - code fix included in description!

Reported by: dan8080 Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.4
Keywords: Cc:


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 dan8080@…

Change History (1)

comment:1 Changed 15 years ago by Artur Formella

Keywords: fix textarea id fckeditor.js removed
Milestone: FCKeditor 2.6.5
Resolution: wontfix
Status: newclosed
Type: BugNew Feature

You should use API to insert and get data from the textarea. Doing in directly you can cause lots of mistakes.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy