浏览代码

[CKEditor] Enabled the "Source mode edition" button, by popular demand. Be aware that the resulting HTML source is anyhow filtered/validated/sanitized by CKEditor itself, then iTop.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4792 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 8 年之前
父节点
当前提交
0ae837d7c2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/ckeditor/config.js

+ 1 - 1
js/ckeditor/config.js

@@ -26,7 +26,7 @@ CKEDITOR.editorConfig = function( config ) {
 		{ name: 'about' }
 	];
 
-	config.removeButtons = 'Subscript,Superscript,Scayt,Anchor,Source,Outdent,Indent,Blockquote,About,PasteFromWord';
+	config.removeButtons = 'Subscript,Superscript,Scayt,Anchor,Outdent,Indent,Blockquote,About,PasteFromWord';
 	config.removePlugins = 'elementspath';
 	config.resize_enabled = false;
 	config.toolbarCanCollapse = true;