+ Reply to Thread
Results 1 to 6 of 6

Thread: Did anyone had problems with the CKeditor?

  1. #1

    Did anyone had problems with the CKeditor?

    I have some problems with it in html Email Templates and in the description of listings. In html email templates is messing all my code and in listing description the editor changes some letters by itself with some characters. I have issues with "a", "m", "p" letters.

    Any idea, please?

  2. #2
    PLease see this short video with the ckeditor problem. The password for the video is: emailtemplate


  3. #3
    Junior Member
    Join Date
    Jun 2013
    Posts
    2
    Even I have this problem. Did you manage to resolve the problem?

  4. #4
    Member
    Join Date
    Aug 2012
    Location
    Germany and Greece
    Posts
    88
    I have similar problems.

    when I save HTML source code many <br /> are always inserted tags.

    for example:

    "
    ....
    <table width="600" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" valign="top" style="background-color:#ff6c00;" bgcolor="#ff6c00;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="13" align="left" valign="top">&nbsp;</td>
    <td width="465" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr>
    <td style="font-family:Georgia, Times New Roman, Times, serif; color:#000000;">
    <div class="style1">Ο νέος σας λογαριασμός</div>
    <div style="font-size:24px;"><i>στο {site_name}</i></div>

    </td>
    </tr>
    </table>
    ....
    "

    - Click adit and Save.
    - Re-open the E-mail-Tamplet and see source-code

    example after re-open:


    "
    ....
    <table width="600" border="0" cellspacing="0" cellpadding="0">
    <br />
    <br />
    <br />

    <tr>
    <td align="left" valign="top" style="background-color:#ff6c00;" bgcolor="#ff6c00;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <br />
    <br />
    <br />

    <tr>
    <td width="13" align="left" valign="top">&nbsp;</td>
    <td width="465" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr>
    <td style="font-family:Georgia, Times New Roman, Times, serif; color:#000000;">
    <div class="style1">Ο νέος σας λογαριασμός</div>
    <div style="font-size:24px;"><i>στο {site_name}</i></div>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />

    </td>
    </tr>
    <br />
    <br />
    <br />

    </table>
    <br />
    <br />
    <br />

    ....
    "

    I have tried to configure ckeditor (config.js)

    some <br /> get away, unfortunately not all.

    How can we fix that?

    best greetings

    Sakis

  5. #5
    Senior Member
    Join Date
    May 2013
    Posts
    185
    I have the same problem. The editor is entering too many breaks and if you delete them and try to edit your code they are inserted again.

  6. #6
    Member
    Join Date
    Aug 2012
    Location
    Germany and Greece
    Posts
    88
    Hi @ all

    ckeditor and CKFinder must be updated.
    Old versions do not work properly under win 8.1 and IE11.

    I have everything updated and adjusted some files.

    Always makes backups of your files, I do not take responsibility.


    Download ckeditor: http://ckeditor.com/download (The full version.)
    Download CKFinder: http://cksource.com/ckfinder

    in / libs / ckeditor:

    1. ckeditor folder backup
    2. Insert new ckeditor folder
    3. from the old folder ckeditor copy the three files:
    ckeditor.php, ckeditor_php4.php, ckeditor_php5.php and add the files in to new folder.

    4 . and have the config.js adapted to my needs.

    This is my config:
    .....
    CKEDITOR.editorConfig = function( config ) {
    // Define changes to default configuration here.
    // For the complete reference:
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config

    config.fillEmptyBlocks = false;
    config.forceEnterMode = true;
    config.enterMode = CKEDITOR.ENTER_BR;
    config.shiftEnterMode = CKEDITOR.ENTER_P;
    config.entities = false;
    config.basicEntities = false;
    config.entities_greek = false;
    config.fullPage = false;
    config.forcePasteAsPlainText = false;
    config.autoParagraph = false;
    config.htmlEncodeOutput = false;
    CKEDITOR.config.allowedContent = true;
    config.autoParagraph = false;
    ......

    5 . Clear the cache of IE and then open the page where ckeditor is. e.g. Edit a template (e-mail)


    in /libs/ckfinder

    1. ckfinder folder backup
    2. Insert new ckfinder folder
    3. from the old folder ckfinder copy the file: config.php and add the file in to new folder.

    4 . Clear the cache of IE and then open the page where ckfinder is connectet to ckeditor. e.g. Edit massmailer


    I've managed that so, it works for me.

    Always makes backups of your files, I do not take responsibility.


    That with the too many <br /> in CKEditor I have also fixed.
    but I know not exactly which file it was, i will check it.




    now , there is still a problem with too many <br /> in received e-mail as html.

    see thread : http://www.flynax.com/forum/showthre...=7283#post7283



    Please help us to fix it.

    Thanks in advance.

    Sakis
    Last edited by Athanasios Christou; October 28, 2013 at 12:57 PM.

+ Reply to Thread