Results 1 to 5 of 5

Thread: Custom form field with Ace Editor

  1. #1
    Sencha Premium User
    Join Date
    Jul 2017
    Posts
    5

    Default Answered: Custom form field with Ace Editor

    Does anyone know how to add a form field that is an Ace code editor?

  2. Something like this?

  3. #2
    Sencha Premium User
    Join Date
    Feb 2010
    Location
    Chicago
    Posts
    72
    Answers
    17

    Default

    Very crude example of the Ace Editor.


  4. #3
    Sencha Premium User
    Join Date
    Jul 2017
    Posts
    5

    Default

    Thank you, that helps! Do you think its worth trying to set up a package and a class that extends from Ext.form.field.Base? The goal is to embed the editor in a form to submit the code with the other fields.

  5. #4
    Sencha User yeghikyan's Avatar
    Join Date
    Mar 2009
    Location
    München
    Posts
    574
    Answers
    99

    Default

    Something like this?
    "The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague." – Edsger W. Dijkstra

  6. #5
    Sencha Premium User
    Join Date
    Jul 2017
    Posts
    5

    Default

    Wow, yes, that is awesome, thank you!

Similar Threads

  1. Replies: 4
    Last Post: 6 Jun 2018, 1:41 PM
  2. Need an example of a custom field ( + in-grid editor )
    By kprokopenko in forum Ext 5: Q&A
    Replies: 1
    Last Post: 25 Nov 2014, 1:07 PM
  3. Custom editor field in EditorGridPanel
    By josephhamilton1 in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 3 Jun 2011, 7:12 AM
  4. Replies: 0
    Last Post: 27 Oct 2010, 6:51 AM

Posting Permissions

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