Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: CKEditor adding extra space

    Are you pasting into the editor when in plain text mode??
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Dec 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    I am pasting into the editor using ckeditor's wysiwyg

  3. #3
    Join Date
    Feb 2013
    Posts
    7
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    Might be this: http://ckeditor.com/forums/FCKeditor...A0-empty-cells.

    Short answer, the CKEditor automatically populates empty cells with a
    HTML Code:
     
    , but you can workaround it by putting a comment in the cell, for instance,
    HTML Code:
    <td><!-- blank --></td>
    and then it should be blank.

  4. #4
    Join Date
    Dec 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    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

  5. #5
    Join Date
    Feb 2013
    Posts
    7
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    Oh okay, I think you can fix that by changing the CKEditor settings to include:

    PHP Code:
    config.fillEmptyBlocks false
    The fillEmptyBlocks setting works on all empty elements, not just table cells, but it should do the trick.

  6. #6
    Join Date
    Dec 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    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
    });
    });

  7. #7
    Join Date
    Dec 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: CKEditor adding extra space

    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

 

 

Similar Threads

  1. Columns - extra space
    By Momof9Blessings in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Jul 2013, 09:45 PM
  2. v150 Adding Images in CKEditor
    By firstcapitalfirearms in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Sep 2012, 11:43 PM
  3. Extra Space
    By SweetEmotions in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Aug 2009, 10:50 AM
  4. Extra white space
    By kburner in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Feb 2009, 01:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg