[svn r21913] FS#2867 - The FCKEditor, configuration: Modifications about 'BlockCopyPaste' option.

skala
Ivan Tcholakov 16 years ago
parent 924755970b
commit 8ef32f3e87
  1. 1
      main/inc/lib/fckeditor/fckeditor.php
  2. 2
      main/inc/lib/fckeditor/toolbars/blog_comment_student.php
  3. 2
      main/inc/lib/fckeditor/toolbars/blog_student.php
  4. 2
      main/inc/lib/fckeditor/toolbars/documents_student.php
  5. 2
      main/inc/lib/fckeditor/toolbars/forum_student.php
  6. 2
      main/inc/lib/fckeditor/toolbars/free_answer.php
  7. 9
      main/inc/lib/fckeditor/toolbars/introduction.php

@ -375,7 +375,6 @@ class FCKeditor
}
}
break;
case 'BlockCopyPaste':
case 'ToolbarCanCollapse':
case 'ToolbarStartExpanded':
if (!empty($toolbar_set) && $toolbar_set != 'Default') {

@ -10,4 +10,4 @@ $config['ToolbarSets']['BlogComment_Student'] = array(
array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
array('ShowBlocks')
);
$config['BlockCopyPaste']['BlogComment_Student'] = true;
$config['BlockCopyPaste'] = true;

@ -11,4 +11,4 @@ $config['ToolbarSets']['Blog_Student'] = array(
array('JustifyLeft','JustifyCenter','-','OrderedList','UnorderedList','-','TextColor','BGColor'),
array('ShowBlocks')
);
$config['BlockCopyPaste']['Blog_Student'] = true;
$config['BlockCopyPaste'] = true;

@ -13,4 +13,4 @@ $config['ToolbarSets']['Documents_Student'] = array(
array('JustifyLeft','JustifyCenter','JustifyRight'),
array('ShowBlocks')
);
$config['BlockCopyPaste']['Documents_Student'] = true;
$config['BlockCopyPaste'] = true;

@ -13,4 +13,4 @@ $config['ToolbarSets']['Forum_Student'] = array(
array('JustifyLeft','JustifyCenter','JustifyRight'),
array('ShowBlocks')
);
$config['BlockCopyPaste']['Forum_Student'] = true;
$config['BlockCopyPaste'] = true;

@ -4,4 +4,4 @@
$config['ToolbarSets']['FreeAnswer'] = array(
array('FitWindow','Bold','Image','Link','PasteWord','MP3','Table','Subscript','Superscript','ShowBlocks')
);
$config['BlockCopyPaste']['FreeAnswer'] = true;
$config['BlockCopyPaste'] = true;

@ -1,6 +1,8 @@
<?php
// Course tools
// Course introduction
// The toolbar set that is visible when the editor has "normal" size.
$config['ToolbarSets']['Introduction'] = array(
array('NewPage','FitWindow','-','PasteWord','-','Undo','Redo','-','SelectAll'),
array('Link','Unlink','Anchor'),
@ -14,10 +16,17 @@ $config['ToolbarSets']['Introduction'] = array(
);
/*
// The toolbar set that is visible when the editor is maximized.
// If it has not been defined, then the toolbar set for the "normal" size is used.
$config['ToolbarSets']['IntroductionMaximized'] = array(
array('FitWindow','-') // ...
);
*/
// Here new width and height of the editor may be set.
//$config['Width'] = '100%';
//$config['Height'] = '300';
// This setting activates on leaners only.
// For users with other statuses there is no blocking copy/paste.
//$config['BlockCopyPaste'] = false;

Loading…
Cancel
Save