12345678910111213141516171819202122232425262728 |
- <?php Import::script('tinymce/tinymce.min'); ?>
-
- <script>tinymce.init({
- selector: '#editor',
- language: 'tr',
- height: 500,
- theme: 'modern',
- plugins: [
- 'advlist autolink lists link image charmap print preview hr anchor pagebreak',
- 'searchreplace wordcount visualblocks visualchars code fullscreen',
- 'insertdatetime media nonbreaking save table contextmenu directionality',
- 'emoticons template paste textcolor colorpicker textpattern imagetools codesample responsivefilemanager toc'
- ],
- toolbar1: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
- toolbar2: '| responsivefilemanager | print preview media | forecolor backcolor emoticons | codesample',
- image_advtab: true,
- external_filemanager_path:"/filemanager/",
- filemanager_title:"Responsive Filemanager" ,
- external_plugins: { "filemanager" : "/filemanager/plugin.min.js"},
- templates: [
- { title: 'Test template 1', content: 'Test 1' },
- { title: 'Test template 2', content: 'Test 2' }
- ],
- content_css: [
- '//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
- '//www.tinymce.com/css/codepen.min.css'
- ]
- });</script>
|