Are you pasting into the editor when in plain text mode??
Are you pasting into the editor when in plain text mode??
Zen-Venom Get Bitten
I am pasting into the editor using ckeditor's wysiwyg
Might be this: http://ckeditor.com/forums/FCKeditor...A0-empty-cells.
Short answer, the CKEditor automatically populates empty cells with a, but you can workaround it by putting a comment in the cell, for instance,HTML Code: and then it should be blank.HTML Code:<td><!-- blank --></td>
thanks though I would have to manually add that html code a thousand times
there has to be away to stop ckeditor from just adding it to begin with
Oh okay, I think you can fix that by changing the CKEditor settings to include:
The fillEmptyBlocks setting works on all empty elements, not just table cells, but it should do the trick.PHP Code:config.fillEmptyBlocks = false;
thanks so far for your help
do you know where and now to add that
I am in the config.js file though it looks like have to structure the code more then just paste that line it
I did paste the line in and nothing happened so this is my guess
I pasted the code I have in there now which I got from a forum post from dr. byte as people were complaining about the extra line breaks it also adds
CKEDITOR.on( 'instanceReady', function( ev )
{
// turn off excess line breaks in html output formatting
ev.editor.dataProcessor.writer.setRules( 'p',
{
indent : false,
breakBeforeOpen : false,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
});
ev.editor.dataProcessor.writer.setRules( 'br',
{
indent : false,
breakBeforeOpen : false,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
});
});
alright I got it work
first I changed the config.js file back to the original way ckeditor had it when I installed it
second pasted the config.fillEmptyBlocks = false; inside the brackets and it worked
thank you for your help