PDA

View Full Version : Path of html editor Js on my system



blunderboy
29 Apr 2012, 11:21 PM
Hi all,
I ma using extJs 3.4 and i have used html editor. But for some purpose I need to edit code and write my own code inside theExt.extend(Ext.form.Field, { //method

But i can not find the htmleditor.js on my system. It exists in src/wdigets/form directory but on alert('something') it is not printing anything that means this is not called.

Please tell me the exact path of this file.
Thanks

scottmartin
30 Apr 2012, 1:32 PM
It should be located at /src/widgets/form/HtmlEditor.js

Regards,
Scott.

blunderboy
30 Apr 2012, 8:07 PM
Hye scott, thanks for your valuable reply. I found it later on.
In src/wdigets/form/HtmlEditor.js we can find the code but actually it is not used. If we want to modify something then we have to open ext-all.js and find out where actually the code of HtmlEditor.js exists in ext-all.js and change at appropriate place.
Hope I am clear

Thanks :)

scottmartin
1 May 2012, 5:59 AM
It is not recommended to modify the original code. You should create an override to change default behavior or extend an existing component to add new features.

Regards,
Scott.