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

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

?? fckxhtml.js

?? 如果遇到MD5加密文件
?? 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 visit:
 * 		http://www.fckeditor.net/
 * 
 * File Name: fckxhtml.js
 * 	Defines the FCKXHtml object, responsible for the XHTML operations.
 * 
 * Version:  2.0 RC3
 * Modified: 2005-03-02 11:17:23
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net) */
var FCKXHtml = new Object() ;

FCKXHtml.CurrentJobNum = 0 ;

FCKXHtml.GetXHTML = function( node, includeNode, format )
{
	// Special blocks are blocks of content that remain untouched during the 
	// process. It is used for SCRIPTs and STYLEs.
	FCKXHtml.SpecialBlocks = new Array() ;

	// Create the XML DOMDocument object.
	this.XML = FCKTools.CreateXmlObject( 'DOMDocument' ) ;

	// Add a root element that holds all child nodes.
	this.MainNode = this.XML.appendChild( this.XML.createElement( 'xhtml' ) ) ;

	FCKXHtml.CurrentJobNum++ ;

	if ( includeNode )
		this._AppendNode( this.MainNode, node ) ;
	else
		this._AppendChildNodes( this.MainNode, node, false ) ;

	// Get the resulting XHTML as a string.
	var sXHTML = this._GetMainXmlString() ;

	// Strip the "XHTML" root node.
	sXHTML = sXHTML.substr( 7, sXHTML.length - 15 ).trim() ;

	if ( FCKConfig.ForceSimpleAmpersand )
		sXHTML = sXHTML.replace( /___FCKAmp___/g, '&' ) ;

	if ( format )
		sXHTML = FCKCodeFormatter.Format( sXHTML ) ;

	// Now we put back the SpecialBlocks contents.
	for ( var i = 0 ; i < FCKXHtml.SpecialBlocks.length ; i++ )
	{
		var oRegex = new RegExp( '___FCKsi___' + i ) ;
		sXHTML = sXHTML.replace( oRegex, FCKXHtml.SpecialBlocks[i] ) ;
	}
	
	this.XML = null ;

	return sXHTML
}

FCKXHtml._AppendAttribute = function( xmlNode, attributeName, attributeValue )
{
	try
	{
		// Create the attribute.
		var oXmlAtt = this.XML.createAttribute( attributeName ) ;

		oXmlAtt.value = attributeValue ? attributeValue : '' ;

		// Set the attribute in the node.
		xmlNode.attributes.setNamedItem( oXmlAtt ) ;
	}
	catch (e)
	{}
}

FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement )
{
	if ( htmlNode.hasChildNodes() )
	{
		// Get all children nodes.
		var oChildren = htmlNode.childNodes ;

		for ( var i = 0 ; i < oChildren.length ; i++ )
			this._AppendNode( xmlNode, oChildren[i] ) ;
	}
	else
	{
		if ( isBlockElement && FCKConfig.FillEmptyBlocks )
		{
			this._AppendEntity( xmlNode, 'nbsp' ) ;
			return ;
		}

		// We can't use short representation of empty elements that are not marked
		// as empty in th XHTML DTD.
		if ( ! FCKRegexLib.EmptyElements.test( htmlNode.nodeName ) )
			xmlNode.appendChild( this.XML.createTextNode('') ) ;
	}
}

FCKXHtml._AppendNode = function( xmlNode, htmlNode )
{
	switch ( htmlNode.nodeType )
	{
		// Element Node.
		case 1 :
			// Mozilla insert custom nodes in the DOM.
			if ( FCKBrowserInfo.IsGecko && htmlNode.hasAttribute('_moz_editor_bogus_node') )
				return ;

			// Create the Element.
			var sNodeName = htmlNode.nodeName.toLowerCase() ;

			if ( FCKBrowserInfo.IsGecko && sNodeName == 'br' && htmlNode.hasAttribute('type') && htmlNode.getAttribute( 'type', 2 ) == '_moz' )
				return ;

			// The already processed nodes must be marked to avoid then to be duplicated (bad formatted HTML).
			// So here, the "mark" is checked... if the element is Ok, then mark it.
			if ( htmlNode._fckxhtmljob == FCKXHtml.CurrentJobNum )
				return ;
			else
				htmlNode._fckxhtmljob = FCKXHtml.CurrentJobNum ;

			// If the nodeName starts with a slash, it is a orphan closing tag.
			// On some strange cases, the nodeName is empty, even if the node exists.
			if ( sNodeName.length == 0 || sNodeName.substr(0,1) == '/' )
				break ;

			var oNode = this.XML.createElement( sNodeName ) ;

			// Add all attributes.
			FCKXHtml._AppendAttributes( xmlNode, htmlNode, oNode, sNodeName ) ;

			// Tag specific processing.
			var oTagProcessor = FCKXHtml.TagProcessors[ sNodeName ] ;

			if ( oTagProcessor )
			{
				oNode = oTagProcessor( oNode, htmlNode ) ;
				if ( !oNode ) break ;
			}
			else
				this._AppendChildNodes( oNode, htmlNode, FCKRegexLib.BlockElements.test( sNodeName ) ) ;

			xmlNode.appendChild( oNode ) ;

			break ;

		// Text Node.
		case 3 :
			// We can't just replace the special chars with entities and create a
			// text node with it. We must split the text isolating the special chars
			// and add each piece a time.
			var asPieces = htmlNode.nodeValue.replaceNewLineChars(' ').match( FCKXHtmlEntities.EntitiesRegex ) ;

			if ( asPieces )
			{
				for ( var i = 0 ; i < asPieces.length ; i++ )
				{
					if ( asPieces[i].length == 1 )
					{
						var sEntity = FCKXHtmlEntities.Entities[ asPieces[i] ] ;
						if ( sEntity != null )
						{
							this._AppendEntity( xmlNode, sEntity ) ;
							continue ;
						}
					}
					xmlNode.appendChild( this.XML.createTextNode( asPieces[i] ) ) ;
				}
			}

			// This is the original code. It doesn't care about the entities.
			//xmlNode.appendChild( this.XML.createTextNode( htmlNode.nodeValue ) ) ;

			break ;

		// Comment
		case 8 :
			xmlNode.appendChild( this.XML.createComment( htmlNode.nodeValue ) ) ;
			break ;

		// Unknown Node type.
		default :
			xmlNode.appendChild( this.XML.createComment( "Element not supported - Type: " + htmlNode.nodeType + " Name: " + htmlNode.nodeName ) ) ;
			break ;
	}
}

// Append an item to the SpecialBlocks array and returns the tag to be used.
FCKXHtml._AppendSpecialItem = function( item )
{
	return '___FCKsi___' + FCKXHtml.SpecialBlocks.addItem( item ) ;
}

// An object that hold tag specific operations.
FCKXHtml.TagProcessors = new Object() ;

FCKXHtml.TagProcessors['img'] = function( node )
{
	// The "ALT" attribute is required in XHTML.
	if ( ! node.attributes.getNamedItem( 'alt' ) )
		FCKXHtml._AppendAttribute( node, 'alt', '' ) ;

	return node ;
}

FCKXHtml.TagProcessors['script'] = function( node, htmlNode )
{
	// The "TYPE" attribute is required in XHTML.
	if ( ! node.attributes.getNamedItem( 'type' ) )
		FCKXHtml._AppendAttribute( node, 'type', 'text/javascript' ) ;

	node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.text ) ) ) ;

	return node ;
}

FCKXHtml.TagProcessors['style'] = function( node, htmlNode )
{
	// The "_fcktemp" attribute is used to mark the <STYLE> used by the editor
	// to set some behaviors.
	if ( htmlNode.getAttribute( '_fcktemp' ) )
		return null ;

	// The "TYPE" attribute is required in XHTML.
	if ( ! node.attributes.getNamedItem( 'type' ) )
		FCKXHtml._AppendAttribute( node, 'type', 'text/css' ) ;

	node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( htmlNode.innerHTML ) ) ) ;

	return node ;
}

FCKXHtml.TagProcessors['title'] = function( node, htmlNode )
{
	node.appendChild( FCKXHtml.XML.createTextNode( FCK.EditorDocument.title ) ) ;

	return node ;
}

FCKXHtml.TagProcessors['base'] = function( node, htmlNode )
{
	// The "_fcktemp" attribute is used to mark the <BASE> tag when the editor
	// automatically sets it using the FCKConfig.BaseHref configuration.
	if ( htmlNode.getAttribute( '_fcktemp' ) )
		return null ;

	// IE duplicates the BODY inside the <BASE /> tag (don't ask me why!).
	// This tag processor does nothing... in this way, no child nodes are added
	// (also because the BASE tag must be empty).
	return node ;
}

FCKXHtml.TagProcessors['link'] = function( node, htmlNode )
{
	// The "_fcktemp" attribute is used to mark the fck_internal.css <LINK>
	// reference.
	if ( htmlNode.getAttribute( '_fcktemp' ) )
		return null ;

	return node ;
}

FCKXHtml.TagProcessors['table'] = function( node, htmlNode )
{
	// There is a trick to show table borders when border=0. We add to the
	// table class the FCK__ShowTableBorders rule. So now we must remove it.
	
	var oClassAtt = node.attributes.getNamedItem( 'class' ) ;
	
	if ( oClassAtt && FCKRegexLib.TableBorderClass.test( oClassAtt.nodeValue ) )
	{
		var sClass = oClassAtt.nodeValue.replace( FCKRegexLib.TableBorderClass, '' ) ;
		
		if ( sClass.length == 0 )
			node.attributes.removeNamedItem( 'class' ) ;
		else
			FCKXHtml._AppendAttribute( node, 'class', sClass ) ;
	}

	FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;

	return node ;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人在线观看视频| 精品国内片67194| 波多野洁衣一区| 色琪琪一区二区三区亚洲区| 欧美一区二区在线不卡| 综合分类小说区另类春色亚洲小说欧美 | 91社区在线播放| 精品国产一区二区三区不卡 | 亚洲成人激情av| 成人一级片在线观看| 欧美一区二区女人| 亚洲国产一区二区在线播放| 国产成人在线视频网址| 91精品国产一区二区三区蜜臀| 中文字幕综合网| 国产乱淫av一区二区三区| 欧美另类一区二区三区| 亚洲曰韩产成在线| 91影院在线观看| 国产精品嫩草影院av蜜臀| 老司机免费视频一区二区| 欧美亚洲精品一区| 一区二区三区在线视频免费观看| 成人免费视频app| 精品国产一区二区三区久久久蜜月 | 国产美女精品在线| 日韩一区二区三区av| 日韩国产欧美视频| 欧美肥妇free| 美腿丝袜在线亚洲一区 | 色综合婷婷久久| 日本一区二区三区电影| 国产mv日韩mv欧美| 国产精品欧美一级免费| 成人激情综合网站| 国产精品乱码人人做人人爱 | 精品在线你懂的| 精品久久久影院| 久久99国产乱子伦精品免费| 欧美v国产在线一区二区三区| 麻豆精品视频在线| 欧美不卡一区二区三区四区| 国内精品自线一区二区三区视频| 337p粉嫩大胆噜噜噜噜噜91av| 精品一区免费av| 国产亚洲自拍一区| 成人精品小蝌蚪| 亚洲精选视频免费看| 欧美图片一区二区三区| 蜜桃91丨九色丨蝌蚪91桃色| 精品久久久久久久久久久久包黑料| 蜜臀久久久久久久| 久久这里只有精品首页| 99久久国产综合精品麻豆| 一区二区在线观看免费视频播放| 欧美群妇大交群中文字幕| 久久精品国产免费| 中文字幕制服丝袜一区二区三区 | 国产一区999| 中文字幕中文字幕一区二区| 欧美日韩一区二区三区免费看| 日韩国产在线观看| 国产精品国产三级国产aⅴ原创 | va亚洲va日韩不卡在线观看| 一区二区三区中文字幕电影 | 欧美在线一区二区三区| 久久精品二区亚洲w码| 国产精品美女久久福利网站| 欧美日韩国产电影| 成人中文字幕合集| 视频一区免费在线观看| 国产亚洲精品7777| 欧美色网一区二区| 成人免费视频播放| 麻豆精品视频在线观看| 亚洲精品成人少妇| 久久综合久久鬼色| 精品视频一区三区九区| 国产成人aaa| 日韩不卡一区二区三区| 亚洲九九爱视频| 国产日韩欧美电影| 精品国产一区二区亚洲人成毛片| 色婷婷av一区二区三区之一色屋| 九色|91porny| 天天综合日日夜夜精品| 亚洲欧洲在线观看av| 欧美电视剧在线看免费| 在线观看视频91| www.日韩在线| 国产一区二区不卡| 男人操女人的视频在线观看欧美 | 在线观看av一区二区| 成人性生交大片免费看中文| 久久国产精品99久久人人澡| 亚洲午夜在线观看视频在线| 亚洲色图.com| 国产精品不卡一区| 国产欧美一区二区精品秋霞影院 | 中文字幕一区二区三区精华液| 91精品国产综合久久蜜臀| 色哟哟国产精品| 91麻豆文化传媒在线观看| 成人免费看的视频| 粉嫩av亚洲一区二区图片| 九色综合狠狠综合久久| 久久99久久久久| 美女精品自拍一二三四| 视频一区二区欧美| 亚洲va国产va欧美va观看| 亚洲最大色网站| 亚洲一区二区在线观看视频| 亚洲免费观看高清完整版在线| 国产精品免费视频网站| 亚洲欧洲日本在线| 17c精品麻豆一区二区免费| 亚洲特黄一级片| 一区二区三区欧美久久| 国产在线精品免费| 激情综合网最新| 粉嫩av一区二区三区在线播放| 国产aⅴ综合色| av中文字幕不卡| 色噜噜久久综合| 欧美亚洲动漫制服丝袜| 欧美日韩国产小视频| 91精品欧美综合在线观看最新 | 蜜臀av一级做a爰片久久| 日本免费在线视频不卡一不卡二| 麻豆91免费观看| 成人午夜短视频| 色婷婷精品大视频在线蜜桃视频 | 一本大道久久a久久精二百 | 99久久伊人精品| 91福利区一区二区三区| 精品视频一区二区三区免费| 91精品国产色综合久久ai换脸 | 欧美一区二区精美| 精品对白一区国产伦| 欧美激情综合网| 一区二区三区四区激情| 奇米一区二区三区| 福利一区二区在线观看| 色天使色偷偷av一区二区| 制服丝袜亚洲色图| 国产三级精品视频| 亚洲免费资源在线播放| 麻豆精品在线播放| 色综合色综合色综合| 91精品国产综合久久蜜臀| 国产片一区二区| 午夜成人免费电影| 国产不卡视频在线观看| 欧美日韩aaaaa| 国产女同互慰高潮91漫画| 亚洲444eee在线观看| 国产精品18久久久久久久久久久久| 色婷婷综合五月| 久久精品亚洲精品国产欧美kt∨ | 欧美电影在线免费观看| 久久久精品人体av艺术| 亚洲国产aⅴ天堂久久| 国产成人精品网址| 国产精品人妖ts系列视频| 亚洲精品中文在线观看| 肉丝袜脚交视频一区二区| 国产成人在线电影| 欧美区一区二区三区| 国产精品色一区二区三区| 日韩高清在线一区| 色成人在线视频| 国产性做久久久久久| 美女视频一区在线观看| 91福利在线观看| 综合电影一区二区三区 | 在线观看视频一区二区| 久久色在线视频| 图片区日韩欧美亚洲| 在线视频观看一区| 综合久久国产九一剧情麻豆| 高潮精品一区videoshd| 日韩欧美国产三级电影视频| 中文字幕一区二区三区精华液| 久久99国产精品成人| 久久久精品日韩欧美| 免费在线观看视频一区| 欧日韩精品视频| 亚洲乱码国产乱码精品精小说 | 久久国产成人午夜av影院| 欧美日韩一区二区三区在线| 亚洲免费成人av| 色屁屁一区二区| 亚洲精品国产无天堂网2021| 99视频精品在线| 亚洲三级在线播放| 91小视频在线免费看| 中文字幕一区二区三区av| www.久久精品| 亚洲精品视频自拍| 欧美午夜精品一区二区蜜桃|