1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    23
    Vote Rating
    0
    jonas sabu is on a distinguished road

      0  

    Default Unanswered: Get the text selection of a Ext GWT HTML Editor text area

    Unanswered: Get the text selection of a Ext GWT HTML Editor text area


    Hi all,

    I am trying to get the selected text within a HTML Editor to a String.
    I have read that it can only be done using native javascript.
    I have tried this but couldn't figure out how to get the selected text from the html editor.

    What I have is (Underlined text is the selected text):
    HTMLEditor editor = new HTMLEditor();
    editor.setValue("Test phrase for selection Test);

    What I want is:
    String selection = editor.getSelection();
    // selection should be = hrase fo

    Anyone can help?

    Thanks in advance

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    23
    Vote Rating
    0
    jonas sabu is on a distinguished road

      0  

    Default


    no one ?

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Location
    Turkey
    Posts
    3
    Vote Rating
    0
    vicache is on a distinguished road

      0  

    Default


    jonas sabu ,

    First of all, text in HTML Editor is not normal text in any text area. It is a formatted text that has got div, b, i tags etc.
    Maybe, you can access string between <u> and </u> tags. Get string from HTML Editor to Javascript variable, and parse it by u tags.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi