StyleBlackList

Last post 12-24-2012, 7:37 AM by Kenneth. 5 replies.
Sort Posts: Previous Next
  •  12-11-2012, 4:32 AM 75436

    StyleBlackList

    I have a template table I insert in editor like:

    <table style="width:610px; margin:0px auto; border-collapse:collapse; border-spacing:0px;">

     

    When I insert the template in the editor, most of the style is deleted like width, margin, border-spacing.....

    <table style="border-collapse:collapse"> 

     

    I have try set:

    <security name="StyleBlackList"></security>

    But nothing happens ...

  •  12-11-2012, 7:22 AM 75439 in reply to 75436

    Re: StyleBlackList

    Hi kjell.ek,

     

    We can reproduce this. I've logged it. And will report to our development team. Once issue is resolved, I will keep you posted.

     

    Regards,

     

    Ken

  •  12-12-2012, 7:38 AM 75452 in reply to 75436

    Re: StyleBlackList

    Hi kjell.ek,

     

    We have fixed this issue, please download the latest build and try again.

     

    Latest build download url: http://richtexteditor.com/download/richtexteditor.rar

     

    Regards,

     

    ken

  •  12-13-2012, 7:51 AM 75455 in reply to 75452

    Re: StyleBlackList

    The width is fixed but not all.....

     

    My orginal template

     <table style="width:610px; margin:0px auto; border-collapse:collapse; border-spacing:0px;">

       <tr>..... 

     

    After insert in richtexteditor
    <table style="width:610px; border-collapse:collapse">
       <tr>.....

     

    margin and border-spacing is removed!

  •  12-23-2012, 9:30 AM 75523 in reply to 75455

    Re: StyleBlackList

    The width is fixed but not all.....

    margin and border-spacing is removed! 

    Will this bug be fixed

  •  12-24-2012, 7:37 AM 75535 in reply to 75523

    Re: StyleBlackList

    Hi kjell.ek,

     

    Please open file  "\richtexteditor\scripts\config.js", find section below

     

    inserttemplate_removestylelist:  "font-family,line-height,text-decoration,text-align,text-underline,letter-spacing,line-height,padding,border,margin",

     

    Change it to

     

    inserttemplate_removestylelist:  "none", 

     

    Regards,

     

    Ken 

View as RSS news feed in XML