?? fck_events.js
字號:
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License
* (http://www.opensource.org/licenses/lgpl-license.php)
*
* For further information go to http://www.fredck.com/FCKeditor/
* or contact fckeditor@fredck.com.
*
* fck_events.js: Creates the events object that handles the editor
* changes events for the toolbar.
*
* Authors:
* Frederico Caldeira Knabben (fckeditor@fredck.com)
*/
var events = new Object() ;
events.attachEvent = function(eventName, attachedFunction)
{
if (! events["ev" + eventName])
events["ev" + eventName] = new Array() ;
events["ev" + eventName][events["ev" + eventName].length] = attachedFunction ;
}
events.fireEvent = function(eventName, params)
{
var oEvents = events["ev" + eventName] ;
if (oEvents)
{
for (i in oEvents)
{
if (typeof(oEvents[i]) == "function")
oEvents[i](params) ;
else
oEvents[i][eventName](params) ;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -