亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fck_2_gecko.js

?? FCKeditor 很強的可視化編輯器.支持asp,php等多種web編程語言.(要支持jsp需另下載插件) 開源免費.
?? JS
?? 第 1 頁 / 共 2 頁
字號:
?/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 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 visit:
 * 		http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: fck_2_gecko.js
 * 	This is the second part of the "FCK" object creation. This is the main
 * 	object that represents an editor instance.
 * 	(Gecko specific implementations)
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
 */

// GetNamedCommandState overload for Gecko.
FCK._BaseGetNamedCommandState = FCK.GetNamedCommandState ;
FCK.GetNamedCommandState = function( commandName )
{
	switch ( commandName )
	{
		case 'Unlink' :
			return FCKSelection.HasAncestorNode('A') ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ;
		default :
			return FCK._BaseGetNamedCommandState( commandName ) ;
	}
}

// Named commands to be handled by this browsers specific implementation.
FCK.RedirectNamedCommands = 
{
	Print	: true,
	Paste	: true,
	Cut		: true,
	Copy	: true
	// START iCM MODIFICATIONS
	// Include list functions so we can ensure content is wrapped
	// with P tags if not using BRs on carriage return, etc
	/*
	InsertOrderedList	: true,
	InsertUnorderedList	: true
	*/
	// END iCM MODIFICATIONS
}

// ExecuteNamedCommand overload for Gecko.
FCK.ExecuteRedirectedNamedCommand = function( commandName, commandParameter )
{
	switch ( commandName )
	{
		case 'Print' :
			FCK.EditorWindow.print() ;
			break ;
		case 'Paste' :
			try			{ if ( FCK.Paste() ) FCK.ExecuteNamedCommand( 'Paste', null, true ) ; }
			catch (e)	{ alert(FCKLang.PasteErrorPaste) ; }
			break ;
		case 'Cut' :
			try			{ FCK.ExecuteNamedCommand( 'Cut', null, true ) ; }
			catch (e)	{ alert(FCKLang.PasteErrorCut) ; }
			break ;
		case 'Copy' :
			try			{ FCK.ExecuteNamedCommand( 'Copy', null, true ) ; }
			catch (e)	{ alert(FCKLang.PasteErrorCopy) ; }
			break ;
			
		// START iCM MODIFICATIONS
		/*
		case 'InsertOrderedList'   :
		case 'InsertUnorderedList' :
		
			if ( !FCKConfig.UseBROnCarriageReturn && FCK.EditorDocument.queryCommandState( commandName ) )
			{
				// We're in a list item which is in the same type of list as the toolbar button clicked
				// Therefore, move the selected list item out of the list as is done on an ENTER key within
				// an empty list item.
				var oSel = FCK.EditorWindow.getSelection() ;
				var oSelNode = oSel.focusNode ;
				var oLINode = FCKTools.GetElementAscensor( oSelNode, "LI" ) ;
				FCK.ToggleListItem( oLINode, oSelNode ) ;
			}
			else
			{
				// Let the default handler do its stuff
				FCK.Focus() ;
				FCK.EditorDocument.execCommand( commandName, false, commandParameter ) ; 
			}
			
			FCK.Events.FireEvent( 'OnSelectionChange' ) ;
			break ;
		*/
		// END iCM MODIFICATIONS
			
		default :
			FCK.ExecuteNamedCommand( commandName, commandParameter ) ;
	}
}

FCK.AttachToOnSelectionChange = function( functionPointer )
{
	this.Events.AttachEvent( 'OnSelectionChange', functionPointer ) ;
}

FCK.Paste = function()
{
	if ( FCKConfig.ForcePasteAsPlainText )
	{
		FCK.PasteAsPlainText() ;	
		return false ;
	}
/* For now, the AutoDetectPasteFromWord feature is IE only.
	else if ( FCKConfig.AutoDetectPasteFromWord )
	{
		var sHTML = FCK.GetClipboardHTML() ;
		var re = /<\w[^>]* class="?MsoNormal"?/gi ;
		if ( re.test( sHTML ) )
		{
			if ( confirm( FCKLang["PasteWordConfirm"] ) )
			{
				FCK.PasteFromWord() ;
				return false ;
			}
		}
	}
*/
	else
		return true ;
}

//**
// FCK.InsertHtml: Inserts HTML at the current cursor location. Deletes the
// selected content if any.
FCK.InsertHtml = function( html )
{
	html = FCKConfig.ProtectedSource.Protect( html ) ;
	html = FCK.ProtectUrls( html ) ;

	// Delete the actual selection.
	var oSel = FCKSelection.Delete() ;
	
	// Get the first available range.
	var oRange = oSel.getRangeAt(0) ;
	
	// Create a fragment with the input HTML.
	var oFragment = oRange.createContextualFragment( html ) ;
	
	// Get the last available node.
	var oLastNode = oFragment.lastChild ;

	// Insert the fragment in the range.
	oRange.insertNode(oFragment) ;
	
	// Set the cursor after the inserted fragment.
	FCKSelection.SelectNode( oLastNode ) ;
	FCKSelection.Collapse( false ) ;
	
	this.Focus() ;
}

FCK.InsertElement = function( element )
{
	// Deletes the actual selection.
	var oSel = FCKSelection.Delete() ;
	
	// Gets the first available range.
	var oRange = oSel.getRangeAt(0) ;
	
	// Inserts the element in the range.
	oRange.insertNode( element ) ;
	
	// Set the cursor after the inserted fragment.
	FCKSelection.SelectNode( element ) ;
	FCKSelection.Collapse( false ) ;

	this.Focus() ;
}

FCK.PasteAsPlainText = function()
{
	// TODO: Implement the "Paste as Plain Text" code.
	
	FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteAsText, 'dialog/fck_paste.html', 400, 330, 'PlainText' ) ;
	
/*
	var sText = FCKTools.HTMLEncode( clipboardData.getData("Text") ) ;
	sText = sText.replace( /\n/g, '<BR>' ) ;
	this.InsertHtml( sText ) ;	
*/
}
/*
FCK.PasteFromWord = function()
{
	// TODO: Implement the "Paste as Plain Text" code.
	
	FCKDialog.OpenDialog( 'FCKDialog_Paste', FCKLang.PasteFromWord, 'dialog/fck_paste.html', 400, 330, 'Word' ) ;

//	FCK.CleanAndPaste( FCK.GetClipboardHTML() ) ;
}
*/
FCK.GetClipboardHTML = function()
{
	return '' ;
}

FCK.CreateLink = function( url )
{	
	FCK.ExecuteNamedCommand( 'Unlink' ) ;
	
	if ( url.length > 0 )
	{
		// Generate a temporary name for the link.
		var sTempUrl = 'javascript:void(0);/*' + ( new Date().getTime() ) + '*/' ;
		
		// Use the internal "CreateLink" command to create the link.
		FCK.ExecuteNamedCommand( 'CreateLink', sTempUrl ) ;

		// Retrieve the just created link using XPath.
		var oLink = document.evaluate("//a[@href='" + sTempUrl + "']", this.EditorDocument.body, null, 9, null).singleNodeValue ;
		
		if ( oLink )
		{
			oLink.href = url ;
			return oLink ;
		}
	}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人免费在线| 亚洲成人午夜电影| 精品美女一区二区| 欧美zozo另类异族| 久久久国产精华| 国产亚洲精品精华液| 国产精品网友自拍| 中文字幕在线不卡一区| 1024亚洲合集| 午夜精品视频一区| 日本美女视频一区二区| 久久精品国产色蜜蜜麻豆| 国产精品亚洲视频| 色老综合老女人久久久| 欧美乱妇23p| xf在线a精品一区二区视频网站| 久久综合久久综合久久| 国产精品午夜在线观看| 亚洲成av人片在www色猫咪| 久久国产福利国产秒拍| 成人av中文字幕| 在线观看欧美日本| 日韩一区二区三区电影| 国产精品乱码一区二三区小蝌蚪| 亚洲人成影院在线观看| 日本vs亚洲vs韩国一区三区二区| 国产乱色国产精品免费视频| 91蜜桃在线免费视频| 日韩三级电影网址| 中文字幕一区二区三| 舔着乳尖日韩一区| 成人h动漫精品一区二区| 69久久99精品久久久久婷婷| 欧美国产精品中文字幕| 亚洲va国产va欧美va观看| 高清久久久久久| 欧美肥胖老妇做爰| 国产精品丝袜久久久久久app| 午夜视频一区二区| 北条麻妃国产九九精品视频| 6080午夜不卡| 亚洲午夜久久久久久久久电影院| 国产精品18久久久久| 欧美军同video69gay| 中文字幕一区二区三区乱码在线| 美国欧美日韩国产在线播放| 91偷拍与自偷拍精品| 久久亚洲综合av| 日韩**一区毛片| 色综合网站在线| 国产肉丝袜一区二区| 另类的小说在线视频另类成人小视频在线| 99re8在线精品视频免费播放| 欧美成人猛片aaaaaaa| 午夜精品在线看| 色偷偷一区二区三区| 国产精品三级久久久久三级| 日本不卡的三区四区五区| 欧美四级电影在线观看| 成人欧美一区二区三区视频网页 | 欧美激情资源网| 久久精品国产澳门| 欧美一区二区三区精品| 亚洲综合偷拍欧美一区色| 一本久道久久综合中文字幕| 国产精品美女一区二区在线观看| 国产风韵犹存在线视精品| 久久欧美一区二区| 精品亚洲porn| 久久久亚洲精品石原莉奈| 激情综合网天天干| 欧美电影免费观看高清完整版在 | 欧美精彩视频一区二区三区| 国产精品一区一区| 久久久久久免费网| 成人国产亚洲欧美成人综合网| 久久午夜免费电影| 本田岬高潮一区二区三区| 综合网在线视频| 色老汉一区二区三区| 亚洲国产精品一区二区久久恐怖片 | 国产视频一区在线播放| 岛国一区二区在线观看| 国产精品不卡在线| 色婷婷久久久综合中文字幕| 亚洲国产精品久久人人爱蜜臀| 777亚洲妇女| 久久国产精品露脸对白| 久久美女艺术照精彩视频福利播放| 国产成人av一区二区三区在线| 中文字幕不卡三区| 在线中文字幕一区二区| 热久久国产精品| 久久久久久久久岛国免费| 99这里都是精品| 亚洲国产欧美在线人成| 2017欧美狠狠色| 99精品一区二区| 青娱乐精品在线视频| 中文字幕高清不卡| 欧美精品在线观看一区二区| 国产一区二区不卡在线| 亚洲免费观看高清完整版在线 | 亚洲免费看黄网站| 日韩一区二区三区视频在线观看 | 午夜不卡av在线| 精品1区2区在线观看| 91一区在线观看| 日本成人超碰在线观看| 日韩理论片在线| 欧美成人video| 色狠狠一区二区| 国产精品一区二区免费不卡| 亚洲制服丝袜av| 欧美国产日韩a欧美在线观看| 69堂国产成人免费视频| 91视频免费观看| 国产成人精品www牛牛影视| 亚洲va欧美va国产va天堂影院| 国产日产亚洲精品系列| 日韩精品中午字幕| 欧美另类一区二区三区| 91一区二区三区在线观看| 激情综合色播五月| 亚洲在线视频网站| 国产精品乱子久久久久| 久久香蕉国产线看观看99| 欧美精品粉嫩高潮一区二区| 色综合咪咪久久| 99久久久久免费精品国产 | av电影在线观看不卡| 激情五月激情综合网| 日韩在线一区二区| 一区二区三区色| 中文字幕一区二区三区四区不卡| 国产亚洲一区二区在线观看| 日韩精品一区二区三区中文精品 | 26uuu久久天堂性欧美| 欧美性猛交xxxxxxxx| 色婷婷综合久久久| 99久久久国产精品免费蜜臀| 国产大片一区二区| 国产综合久久久久影院| 精品一区二区三区视频在线观看| 亚洲国产va精品久久久不卡综合| 一区二区三区中文字幕精品精品| 国产精品久久久久久亚洲伦| 中文字幕乱码一区二区免费| 中文字幕av一区二区三区免费看| 国产精品天干天干在线综合| 国产精品美女久久久久高潮| 国产精品乱人伦中文| 亚洲天堂精品视频| 一区二区三区四区在线播放| 一区二区三区在线视频播放| 亚洲小说春色综合另类电影| 天天爽夜夜爽夜夜爽精品视频| 天天做天天摸天天爽国产一区| 日韩精品久久久久久| 蜜臂av日日欢夜夜爽一区| 美国三级日本三级久久99| 狠狠色综合播放一区二区| 激情小说欧美图片| 成人黄色av电影| 色视频一区二区| 久久综合成人精品亚洲另类欧美| 久久久精品天堂| 亚洲精品视频在线观看网站| 亚洲成人激情自拍| 免费av成人在线| 国产宾馆实践打屁股91| 色综合久久88色综合天天免费| 欧美老肥妇做.爰bbww视频| 精品国产一区二区三区久久影院| 国产欧美日韩精品a在线观看| 中文字幕一区二区三区不卡在线| 亚洲午夜影视影院在线观看| 日本女人一区二区三区| 懂色av一区二区三区蜜臀| 色偷偷久久人人79超碰人人澡| 欧美一级艳片视频免费观看| 国产视频一区在线观看| 亚洲国产精品一区二区www| 麻豆91小视频| 91看片淫黄大片一级在线观看| 欧美日韩亚洲不卡| 欧美经典一区二区三区| 亚洲高清久久久| 国产成人av一区二区三区在线观看| 欧美视频在线一区| 久久久久久免费| 日产精品久久久久久久性色| 成人av午夜影院| 一区二区三区蜜桃| 国产剧情一区二区| 777亚洲妇女| 亚洲一区二区三区视频在线| 风间由美一区二区av101| 欧美一区二区三区在线电影| 亚洲欧美日韩中文播放|