ckeditor - SCRIPT AND SPAN tags eaten up -


upgrading fckeditor newest version of ckeditor (4.5.1) nice , smooth, of course editors behaviours changed. problem occures: php script creates 3 ckeditors on 1 page in private cms:

<script type="text/javascript" src="/cms/rbeditor/ckeditor.js"></script> <textarea name="dtdescription_fr" id="dtdescription_fr" class="ckeditor">blabla</textarea> <script type="text/javascript">      ckeditor.replace("dtdescription_fr",{height:350;width:100%;toolbarcancollapse:false;entermode:3;allowedcontent:true;pastefilter:null;});      ckeditor.config.allowedcontent = true;      ckeditor.config.extraallowedcontent = "*(*)";      ckeditor.config.pastefilter = null;      ckeditor.add; </script> <textarea name="dtdescription_en" id="dtdescription_en" class="ckeditor">blabla</textarea> <script type="text/javascript">    ckeditor.replace("dtdescription_en",{height:350;width:100%;toolbarcancollapse:false;entermode:3;allowedcontent:true;pastefilter:null;});     ckeditor.config.allowedcontent = true;    ckeditor.config.extraallowedcontent = "*(*)";    ckeditor.config.pastefilter = null;    ckeditor.add; </script> <textarea name="dtdescription_de" id="dtdescription_de" class="ckeditor">blabla</textarea> <script type="text/javascript">     ckeditor.replace("dtdescription_de",{height:350;width:100%;toolbarcancollapse:false;entermode:3;allowedcontent:true;pastefilter:null;});    ckeditor.config.allowedcontent = true;    ckeditor.config.extraallowedcontent = "*(*)";    ckeditor.config.pastefilter = null;    ckeditor.add; </script> 

now paste following html code (partial) in ckeditor (in source mode):

<script type="text/javascript" src="../private/nltools.js"></script> <table cellspacing="0" cellpadding="0" border="0" style="width: 600px;">    <tbody>       <tr>            <td colspan="2" rowspan="1" style="width: 450px;">            <div class="searchtitle"><strong><span style="font-style: italic;">some text<br /></span></strong></div>            <div class="bluetext"><strong>capellen</strong></div> etc... 

this changed into:

 <table border="0" cellpadding="0" cellspacing="0" style="width:600px">    <tbody>        <tr>            <td colspan="2" rowspan="1" style="width:450px">            <p><strong><em>some text</em></strong></p>         <p><strong>capellen</strong></p> 

the script tag,the span tag , class attributes (referring classes of cms) needed embed edited contents larger page generated cms.

how can save script/span tags, class attributes , style attributes of span ?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -