Results 1 to 4 of 4

Thread: Path of html editor Js on my system

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default Path of html editor Js on my system

    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

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    It should be located at /src/widgets/form/HtmlEditor.js

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    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

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •