Hello,
We are currently using FCK editor and have come accross the issue of line breaks.
What is occuring is that when you hit "enter" to go to the next line, it cause a double space paragraph break. Only when hitting Shift+Enter does it only go down one line. Is there a way that this can be flipped so the oppoosite would happen (Enter would go down one line and Shift+Enter would create the double space)?
Thank you,
Ron Balofsky
We are currently using FCK editor and have come accross the issue of line breaks.
What is occuring is that when you hit "enter" to go to the next line, it cause a double space paragraph break. Only when hitting Shift+Enter does it only go down one line. Is there a way that this can be flipped so the oppoosite would happen (Enter would go down one line and Shift+Enter would create the double space)?
Thank you,
Ron Balofsky
RE: Line Breaks
You can swap the <p> with a <br> by editing "fckconfig.js" and setting "UseBROnCarriageReturn" to true. I'm uncertain as to whether you can then get a <p> with a shift+enter, however. Furthermore, there may be later issues concerning line justification, but that's a different story
RE: Line Breaks
Re: Line Breaks
Re: Line Breaks
Re: Line Breaks
i want some thing like that in ms-word, where working like, entering into a new line when the character reaches 80 in a particular line.
Actually my application is data entry project, iam making it to online. They are asking me to keep page counter. Its very urgent. Kindly help me. Plsssssssssssssssssssssssssssssssssss.
Issue in setData using CKEDITOR
Hey,
I am using CKEDITOR to get input from user,I am saving generated HTML in database, i save html in database with following code:
<script>CKEDITOR.replace(\''+slide_instance+'\');CKEDITOR.add<\/script>
trim(htmlspecialchars(Generated HTML from CKEDITOR))
For some reason i have to pull html from database and set it to CKEDITOR with setData, I m using following code,
'<script>CKEDITOR.replace(\'desc'.$slide_no.'\').setData(\''.htmlspecialchars_decode($data6['html']).'\', function(){this.checkDirty();});</script>'
ISSUE: When html is very basic and simple without linebreaks or images, then it works fine but when i put line breaks and images in CKEDITOR,it shows exeption SyntaxError: unterminated string literal .Please replay to sort out this issue.