1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    15
    Vote Rating
    0
    adnoh is on a distinguished road

      0  

    Default SOLVED: How can I insert RAW HTML into a TextField or make HTML-Editor readonly

    SOLVED: How can I insert RAW HTML into a TextField or make HTML-Editor readonly


    Hy.

    I'm writing a Mailclient and have a problem.

    I'Ve got a form where the message which should be read is loaded. the body should be displayed in the HTML-Editor komponent.
    after that I want to disable the widget, so the user can't edit the text. he should be able to click the links in the mail also.
    How can I do that?
    Or is there a way to use TextField and set the HTML-Message-Body to its content?

    Thanks a lot for your help
    - A Noop

  2. #2
    Ext User
    Join Date
    Jul 2007
    Posts
    15
    Vote Rating
    0
    adnoh is on a distinguished road

      0  

    Default Solved

    Solved


    ok - after several hours I've got it:
    set the "designMode" to Off.
    Ext:
    PHP Code:
    Form.findField('mail_body').doc.designMode 'off'