HEllo,
I have a problem trying to configure the window preview of ckeditor. I would like it to be scrollable so I changed this part of ckeditor.js:
to:
But when I click the preview button of ckeditor, the new page (page preview) still doesn't have any scrollbar.
Someone know how to configure it?
I have a problem trying to configure the window preview of ckeditor. I would like it to be scrollable so I changed this part of ckeditor.js:
var A=window.open(z,null,'toolbar=yes,location=no,status=yes,menubar=yes,resizable=yes,width='+v+',height='+w+',left='+x);
to:
var A=window.open(z,null,'toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width='+v+',height='+w+',left='+x);
But when I click the preview button of ckeditor, the new page (page preview) still doesn't have any scrollbar.
Someone know how to configure it?

Re: preview window scrollbar
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: preview window scrollbar
Re: preview window scrollbar
For info, I am using the 'fullPage : true,' mode and those extra plugins extraPlugins : 'docprops,autogrow,placeholder'
Here is my editor replace code
<script type="text/javascript"> //<![CDATA[ CKEDITOR.replace( 'editor', { skin : 'kama', fullPage : true, extraPlugins : 'docprops,autogrow,placeholder', // Remove the Resize plugin as it does not make sense to use it in conjunction with the AutoGrow plugin. removePlugins : 'resize', filebrowserBrowseUrl : '/kcfinder/browse.php?type=files', filebrowserImageBrowseUrl : '/kcfinder/browse.php?type=images', filebrowserFlashBrowseUrl : '/kcfinder/browse.php?type=flash', filebrowserUploadUrl : '/kcfinder/upload.php?type=files', filebrowserImageUploadUrl : '/kcfinder/upload.php?type=images', filebrowserFlashUploadUrl : '/kcfinder/upload.php?type=flash', toolbar : [ { name: 'document', items : [ 'Source','-','Save','NewPage','DocProps','Preview','Print','-','Templates' ] }, { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] }, { name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] }, '/', { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] }, { name: 'links', items : [ 'Link','Unlink','Anchor' ] }, { name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] }, { name: 'admin',items : ['CreatePlaceholder']}, { name: 'tools', items : [ 'Maximize', 'ShowBlocks' ] }, '/', { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] }, { name: 'colors', items : [ 'TextColor','BGColor' ] } ], stylesSet : [ { name : 'Strong Emphasis', element : 'strong' }, { name : 'Emphasis', element : 'em' }, { name : 'Computer Code', element : 'code' }, { name : 'Keyboard Phrase', element : 'kbd' }, { name : 'Sample Text', element : 'samp' }, { name : 'Variable', element : 'var' }, { name : 'Deleted Text', element : 'del' }, { name : 'Inserted Text', element : 'ins' }, { name : 'Cited Work', element : 'cite' }, { name : 'Inline Quotation', element : 'q' }, { name : 'edito', element : 'p.edito' , styles: { padding: '15px' , border: '2px solid #000' , lineheight: '18px' } }, { name : 'titre article gauche', element : 'h1.article1' , styles: { font: 'bold 13px Georgia' , borderBottom : '1px solid #b40001', color: '#b40001' , margin : '20px 0px 0px 0px' } }, { name : 'texte article droite', element : 'p.article2' , styles: { color: '#555' } }, { name : 'titre brève gauche', element : 'h2.breves1' , styles: { font: 'bold 11px Verdana' , color: '#b40001'}}, { name : 'texte brève droite', element : 'p.breves2' } ] }); //]]> </script>and here is the source code generated by ckeditor:
and the same code when the content of the form is smaller than the height of the form: