Hello,
I've installed the latest FCKEditor, and it works fine but i have two problems :
1)
When a user presses [ENTER] in source mode, a <br> has to be automatically inserted.
How can i do this ?
This is something our users are used to so i have to implement this before going live.
2)
When a user copy-pastes a YouTube movie embed, in the source code and then returns to WYSIWYG-mode nothing is visible.
e.g
<object width="425" height="353"><param name="movie" value="http://www.youtube.com/v/2ekCjRK9Fmk&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2ekCjRK9Fmk&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"></embed></object>
when i change the code and kill the <object -tag it is recognised as being a flash
<embed src="http://www.youtube.com/v/2ekCjRK9Fmk&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="353"></embed>
It's confusing for the users not to see that the youtube movie is included in wysiwyg-mode ..
can anyone help ?

Re: Replace \n by <br> in source code + YouTube <object
Re: Replace \n by <br> in source code + YouTube <object
youtube, metacafe... videos not working in fckeditor. so I can't use fckeditor
Re: Replace \n by <br> in source code + YouTube <object
FCKConfig.EnterMode = 'br ; (it is set to 'p' by default I think)
For the youtube embed, I do have the same problem, and also searching, I guess the answer is somewere on this forum.
Re: Replace \n by <br> in source code + YouTube <object
Any suggestions on a work around or a fix for this?
Jeremy
Re: Replace \n by <br> in source code + YouTube <object
How sad...