Hi,
I am building my own News System, got the editor to work within the system but when submiting to te database it is putting <br> at the top of the text and also when I press enter it adds two <br />.
FCKConfig.EnterMode = 'br' ; // p | div | br
FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
So when making changes in the editor it displays,
Text
Text
text
but when submitting it and viewing it outside of the editor it looks like this.
Text
Text
text
Any ideas?
Source Code After Posting
<div class=content_title>Test</div>
Test<br /><br />
Test<br /><br />
Test<br /><br />
Test<br /><br />
Test
I am building my own News System, got the editor to work within the system but when submiting to te database it is putting <br> at the top of the text and also when I press enter it adds two <br />.
FCKConfig.EnterMode = 'br' ; // p | div | br
FCKConfig.ShiftEnterMode = 'br' ; // p | div | br
So when making changes in the editor it displays,
Text
Text
text
but when submitting it and viewing it outside of the editor it looks like this.
Text
Text
text
Any ideas?
Source Code After Posting
<div class=content_title>Test</div>
Test<br /><br />
Test<br /><br />
Test<br /><br />
Test<br /><br />
Test
RE: Double <br />
As soon as I removed it it worked perfectly.
Re: Double <br />
I do have the same issue with FCKeditor in PHPGEDVIEW. Could you give me your solution to
get lost of this extra </br> when the text is modified and send to the website ?
Thanks in advance,
Rick.