tag:blogger.com,1999:blog-1000471101186335353.post3689744763429627950..comments2023-10-26T23:44:01.108+02:00Comments on The New Territory: ServerPreview plugin for FCKeditor 2.5+Alfonsohttp://www.blogger.com/profile/18445103211507263059noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1000471101186335353.post-47542013328193657702009-08-14T23:59:13.897+02:002009-08-14T23:59:13.897+02:00There's nothing special there, it's just a...There's nothing special there, it's just a simple form, so you can use whatever technique that you want.<br /><br />Test with a simple html page, and when you get the exact behavior that you want then you add it to the plugin code.<br /><br />Anyway, I must add an important warning: this plugin can be a source of XSS if you aren't careful and anyone can use the server page that it's used to render the preview. The example is just dumping whatever html is sent to it, so it would be extremely easy for an attacker to create a big problem if you are using this plugin (or anything similar) and you don't add proper security measures around this.Alfonsohttps://www.blogger.com/profile/18445103211507263059noreply@blogger.comtag:blogger.com,1999:blog-1000471101186335353.post-3366545549651061302009-08-14T11:21:01.664+02:002009-08-14T11:21:01.664+02:00I'm also looking a way to open ServerPreview i...I'm also looking a way to open ServerPreview in a new popup, but I could't figure out how to modify line: theForm.target='_blank';.<br /><br />Can you help me to open popup with specified width and height?<br /><br />Thanks, amuseamusenoreply@blogger.comtag:blogger.com,1999:blog-1000471101186335353.post-69409949199092503782009-01-09T21:25:00.000+01:002009-01-09T21:25:00.000+01:00Well, evil is my middle name (Scroll Bar is my gir...Well, evil is my middle name (Scroll Bar is my girl friends name)<BR/>:p<BR/>Thanksfleepshttps://www.blogger.com/profile/15088042559996442474noreply@blogger.comtag:blogger.com,1999:blog-1000471101186335353.post-74708582081010227392009-01-08T17:05:00.000+01:002009-01-08T17:05:00.000+01:00IIRC the preview is launched by creating a form wi...IIRC the preview is launched by creating a form with target="_blank", that doesn't allow to specify which features you want in the new window. <BR/><BR/>And a popup with scrollbars disabled is evil.Alfonsohttps://www.blogger.com/profile/18445103211507263059noreply@blogger.comtag:blogger.com,1999:blog-1000471101186335353.post-23084818524313900102009-01-07T14:56:00.000+01:002009-01-07T14:56:00.000+01:00Thanks for the script. It is exactly what I was lo...Thanks for the script. It is exactly what I was looking for.<BR/>Just one question. If I wanted to have no menu, scroll bar, etc for the preview window, do I configure it in your plugin js file or in the Fckeditor files?fleepshttps://www.blogger.com/profile/15088042559996442474noreply@blogger.com