1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    5
    Vote Rating
    0
    karl007 is on a distinguished road

      0  

    Default [2.x] HtmlEditor switches between <b> and <span..font-weight:bold..> in FF

    [2.x] HtmlEditor switches between <b> and <span..font-weight:bold..> in FF


    Reproduce in every HtmlEditor (ex.: http://extjs.com/deploy/ext/examples...dynamic.html):
    Write 2 Lines of text, select the first and press 'Bold', switch to 'source view' and
    back, select the second line, press 'Bold', switch to 'source view' and see the result:
    PHP Code:
    <b>line 1</b><br><span style="font-weight: bold;">line 2</span
    testet with FF 3 on Mac and Windows - <i> and <u> is the same.

    Tried to fix with
    PHP Code:
    htmlEditor.getDoc().execCommand('styleWithCSS'falsefalse);
    htmlEditor.getDoc().execCommand('useCSS'falsefalse); 
    but no change. After a switch to sourceview only <spans> were generated.


    This is a big Problem if you want to use the HTML Code to generate a PDF File, where
    only b,i,u allowed and noch CSS is suported.

  2. #2
    Sencha User
    Join Date
    Jan 2009
    Posts
    5
    Vote Rating
    0
    morkork is on a distinguished road

      0  

    Default


    Any new info on this issue? Any workarount? This is a very annoying bug...

  3. #3
    Ext User
    Join Date
    Apr 2007
    Posts
    5
    Vote Rating
    0
    karl007 is on a distinguished road

      0  

    Default


    Quote Originally Posted by morkork View Post
    Any new info on this issue? Any workarount? This is a very annoying bug...
    No news, no workaround (AFAIK)... and yes.. VERY annoying...

  4. #4
    Sencha User
    Join Date
    Jul 2009
    Posts
    13
    Vote Rating
    0
    excyberlabber is on a distinguished road

      0  

    Default use override to eliminate css

    use override to eliminate css


    This seems to work in Ext 3.3.1:

    Ext.override(Ext.form.HtmlEditor, {
    relayCmd : function(cmd, value){
    (function(){
    this.focus();
    this.execCmd('styleWithCSS', false);
    this.execCmd(cmd, value);
    this.updateToolbar();
    }).defer(10, this);
    },
    });

Thread Participants: 2

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