Results 1 to 5 of 5

Thread: Getting 'keypress' to work in htmlEditor

  1. #1

    Talking Getting 'keypress' to work in htmlEditor

    After reading the following thread:

    http://extjs.com/forum/showthread.php?t=17532

    as well as,

    http://extjs.com/forum/showthread.php?p=164615

    to which there was no response.


    and searching for an answer throughout the forum I am posting this question in hopes that someone will be able to help me answer it?


    I am trying to access the key events associated with a htmlEditor. Ultimately I will set-up a auto-save event similar to the "simulated auto-save" in the status bar example.

    Any recommendations/examples?


    BTW, I have also reviewed the Ext JS API.



    Thanks in advance.
    -John

  2. #2

    Default

    bump

  3. #3

    Default

    bump x2

  4. #4

    Default

    o why o why does any one have a solution,
    o why does any have a solution?

  5. #5

    Default

    just an alternative....

    html = new Ext.form.HtmlEditor({
    enableKeyEvents : true,
    name : "Currtext",
    value : "N/A",
    id : "Currtext",
    listeners : {
    sync : function(e) {
    console.log('sync');
    }
    }
    });

    tes = new Ext.FormPanel({

    bodyStyle : "padding: 10px; ",
    id : "pnCurrtext",
    layout : "fit",
    title : "Current Text",

    items : [
    html],
    dummy : true
    })

    tes.render('div-id');

Posting Permissions

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