Hope that someone can help me with this, I've been looking the net for the whole afternoon and couldn't find anythin about this. When I update my text using ckeditor, I can see that in my ckeditor everything is typing normal, but when I check the code tab I can see that on the first line of my alinea there is a tab. Don't know how this comes, does someone can help me with this issue?
I've already found on the net that I maybe is caused by the indentationChars, by default the indentationChars is set with /t, I've update this with an empty space. But still there is a tab on my first line.
This is my code:
$CKEditor = new CKEditor();
$config = array();
$config['toolbar'] = array(
array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
array( 'Image', 'Link', 'Unlink', 'Anchor','Table' ),
array('Format','Font','FontSize','TextColor'),
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array('NumberedList','BulletedList')
);
$CKEditor->editor("field1",$regel[0] , $config, $events);
This I get on my screen:
This is an example on how my text
is written on the screen.
Can someone please help me?
Many thanks!!!
Best regards,
Davy
I've already found on the net that I maybe is caused by the indentationChars, by default the indentationChars is set with /t, I've update this with an empty space. But still there is a tab on my first line.
This is my code:
$CKEditor = new CKEditor();
$config = array();
$config['toolbar'] = array(
array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ),
array( 'Image', 'Link', 'Unlink', 'Anchor','Table' ),
array('Format','Font','FontSize','TextColor'),
array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array('NumberedList','BulletedList')
);
$CKEditor->editor("field1",$regel[0] , $config, $events);
This I get on my screen:
This is an example on how my text
is written on the screen.
Can someone please help me?
Many thanks!!!
Best regards,
Davy
Re: A tab on my first line
in the ckeditor.js modify enterMode:1 to enterMode:2 for a <br> tag or enterMode:3 for a <span> tag
Cheers