Advertisement
mkdarkness

CkEditorRow - Teste

Jul 8th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.85 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.                 $ckeditor = "js:[
  5.     { name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
  6.     { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ], items: [ 'Scayt' ] },
  7.     { name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
  8.     { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
  9.     { name: 'tools', items: [ 'Maximize' ] },
  10.     { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source' ] },
  11.     { name: 'others', items: [ '-' ] },
  12.     '/',
  13.     { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Strike', '-', 'RemoveFormat' ] },
  14.     { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote' ] },
  15.     { name: 'styles', items: [ 'Styles', 'Format' ] },
  16.     { name: 'about', items: [ 'About' ] }
  17. ];";
  18.                 echo $form->ckEditorRow($model, 'mm_text_pag',array('options'=>array('language'=>'pt',
  19.                                                                                      'disableNativeSpellChecker'=>false,
  20.                                                                                      'scayt_autoStartup'=>true,
  21.                                                                                      'fullpage'=>'js:true',
  22.                                                                                      //'toolbar'=>$ckeditor,
  23.                                                                                      'width'=>'640',
  24.                                                                                      'resize_maxWidth'=>'640',
  25.                                                                                      'resize_minWidth'=>'320')));
  26.                 ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement