﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2755	Move config from dialogs to config.js	Artur Formella	Artur Formella	"Move config vars from dialogs to config.js.
It can be also connected it with #2339, #2301 and #1970

Idea:

{{{
Index: config.js
===================================================================
--- config.js	(revision 2857)
+++ config.js	(working copy)
@@ -226,15 +226,53 @@
 	 */
 	magnetDistance : 20,
 
-	/**
-	 * Show Upload tab in the Image dialog.
-	 * @type Boolean
-	 * @default true
-	 * @example
-	 * config.imageUpload : true;
-	 */
-	imageUpload : true,
+	pluginConfig :
+	{
+		image :		//Image Dialog and Image button Dialog.
+		{
+			/**
+			 * Show Upload tab.
+			 * @type Boolean
+			 * @default true
+			 */
+			upload : true,
 
+			/**
+			 * Upload action attribute.
+			 * @type URL
+			 */
+			uploadAction : 'nowhere.php';
+
+			/**
+			 * Show Image preview in the Image Dialog.
+			 * @type Boolean
+			 * @default true
+			 */
+			showPreview : true,
+
+			removeLinkByEmptyURL : true
+
+			/**
+			 * Startup values
+			 * @type Text
+			 * @default ''
+			 */
+			defaultValues : 
+			{
+				border : '',
+				hSpace : '',
+				vSpace : '',
+				classes : '',
+				align : '',
+				style : '',
+			}
+		},
+		link :
+		{
+			removeLinkByEmptyURL : false
+		}
+	},
+
 	/**
 	 * List of smiley images displayed in the Smiley dialog.
 	 * @type Array
}}}
"	Task	closed	Normal	CKEditor 3.0	UI : Dialogs		fixed		
