CLICK HERE TO BUY IT TODAY! OR GET IT FREE VIA TRIALPAY  

PHP Demo Application - Source Code

/Framework/Model/Vendor/CkEditor/_source/plugins/a11yhelp/plugin.js



/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
 * @fileOverview Plugin definition for the a11yhelp, which provides a dialog
 * with accessibility related help.
 */
(function()
{
	    var pluginName 'a11yhelp',
	        commandName 'a11yHelp';
	    CKEDITOR.plugins.addpluginName,
	    {
		        // List of available localizations.
		        availableLangs : { en:1he:1
			},
		        init : function( editor )
		        {
			            var plugin this;
			            editor.addCommandcommandName,
			                {
				                    exec : function()
				                    {
					                        var langCode editor.langCode;
					                        langCode plugin.availableLangslangCode ] ? langCode 'en';
					                        CKEDITOR.scriptLoader.load(
					                                CKEDITOR.getUrlplugin.path 'lang/' langCode '.js' ),
					                                function()
					                                {
						                                    CKEDITOR.tools.extendeditor.langplugin.langlangCode ] );
						                                    editor.openDialogcommandName );
						                                });
					                    },
				                    modes : { wysiwyg:1source:1
					},
				                    canUndo false
				                });
			            CKEDITOR.dialog.addcommandNamethis.path 'dialogs/a11yhelp.js' );
			        }
		    });
	})();





PHP Demo Source Code Index