Hello everyone!
I pasted in the Radeditor content a <span> that contains a table and script code, I need select the Table in the design mode and press key "supr" to delete this <span> and its content.
I tried with this code that I found in the forums of this page, but it has a different behaviors in all browsers.
I hope you can help me with this.
Best Regards!
I pasted in the Radeditor content a <span> that contains a table and script code, I need select the Table in the design mode and press key "supr" to delete this <span> and its content.
I tried with this code that I found in the forums of this page, but it has a different behaviors in all browsers.
<span contenteditable="false" unselectable="on" style="-moz-user-select: none;-webkit-user-select: none;
;"> <script type="text/javascript"> function example(){ } </script><table> <tbody> <tr> <td>test</td> </tr> </tbody></table></span>- Internet explorer: works very fine, the <span> with its content is deleted.
- Chrome: with this code I can't do anymore in the content of the Radeditor.
- Firefox: Only selects the table, but I can't delete the table with the key "supr".
I hope you can help me with this.
Best Regards!
