Hi, I'm from argentina and im gettin crazy. My English is very bad, i will try to be clear.
I'm using CKEditor and then i save in a data base the value. The problem is that te tag p has an extra break.
I write in the text area:
"Hi(enter)
World"
Te code generated is:
I need this code:
In the head of the html i have
And in the body
How i can fix it?
Thank you very mach!
PS: Then, i use the data base in flash, so i cant do de tag p inline.
I'm using CKEditor and then i save in a data base the value. The problem is that te tag p has an extra break.
I write in the text area:
"Hi(enter)
World"
Te code generated is:
<p> Hi</p> <p> World</p>
I need this code:
<p>Hi</p><p>World</>
In the head of the html i have
<!-- CKEDITOR --> <script type="text/javascript" src="lib/ckeditor/ckeditor.js"></script>
And in the body
<textarea name="home_esp" id="home_esp" cols="45" rows="5" style="width:470px; height:100px"></textarea><script type="text/javascript">
//<![CDATA[
// This call can be placed at any point after the
// <textarea>, or inside a <head><script> in a
// window.onload event handler.
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace( 'home_esp',
{
toolbar :
[
[ 'Bold','Link','Unlink'],
]
});
//]]>
</script>How i can fix it?
Thank you very mach!
PS: Then, i use the data base in flash, so i cant do de tag p inline.

Re: CKEditor and tag p
<textarea name="home_esp" id="home_esp" cols="45" rows="5" style="width:470px; height:100px"></textarea><script type="text/javascript"> //<![CDATA[ // This call can be placed at any point after the // <textarea>, or inside a <head><script> in a // window.onload event handler. // Replace the <textarea id="editor"> with an CKEditor // instance, using default configurations. CKEDITOR.replace( 'home_esp', { toolbar : [ [ 'Bold','Link','Unlink'], ] }); CKEDITOR.replace( 'home_esp', { on : { instanceReady : function( ev ) { // Output paragraphs as <p>Text</p>. this.dataProcessor.writer.setRules( 'p', { indent : false, breakBeforeOpen : true, breakAfterOpen : false, breakBeforeClose : false, breakAfterClose : true }); } } }); //]]> </script>Re: CKEditor and tag p