#2755: Move config from dialogs to config.js
--------------------------+-------------------------------------------------
Reporter: arczi | Owner: arczi
Type: Task | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: UI : Dialogs | Version:
Keywords: |
--------------------------+-------------------------------------------------
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
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2755>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac