⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editorcfg.txt

📁 Typo3, 开源里边最强大的
💻 TXT
字号:
/*# Setting up the CSS EditorCSS_editor = Template StylesCSS_editor.ch {  BODY = General  BODY.selector = BODY  BODY.attribs = font-family, background-color  BODY.example = Plan text outside of any tags written in the page-body.  A = Links  A.selector = A  A.attribs = LINKS,font-weight  A.example = This is <A href="#">a link to</A> the page top.  A.exampleStop=1  A.ch {	hover = Mouseover links	hover.selector = + :hover	hover.attribs = LINKS	active = Active links	active.selector = + :active	active.attribs = LINKS	visited = Visited links	visited.selector = + :visited	visited.attribs = LINKS  }    content = < tt_content.CSS_editor}tt_content.CSS_editor = General contenttt_content.CSS_editor {	title.dk = Generelt Indhold	ch {		P = Text		P.selector = P		P.attribs = BODYTEXT		P.example = <P>General text wrapped in &lt;P&gt;:<BR>In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>		P.ch {			caption = Caption			caption.attribs = TEXT			caption.selector = + .csc-caption		    caption.example = <P class="csc-caption">Caption text<BR>Dixit autem Deus fiant luminaria in firmamento caeli ut dividant diem ac noctem et sint...</P>						menu_sitemap = Menu/Sitemap item			menu_sitemap.attribs = TEXT			menu_sitemap.selector = + .csc-menu		    menu_sitemap.example = <P class="csc-menu">Menu/Sitemap items</P><P class="csc-menu">Item number 2</P><P class="csc-menu">The third item here</P>						section = Menu/Sitemap item: Section-title			section.attribs = TEXT			section.selector = + .csc-section		    section.example = <P class="csc-section">Menu/Sitemap item: Section-title</P>						header_date = Header date			header_date.attribs = TEXT			header_date.selector = + .csc-header-date			header_date.example = <P class="csc-header-date">Header date: 01/02 2002:</P>						P = Page content			P.selector = +.bodytext			P.attribs = BODYTEXT			P.example = <P class="bodytext">Page content, wrapped in &lt;P&gt;:<BR>In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>			P.exampleStop=1			P.ch {				firstline = First line				firstline.selector = +:first-line				firstline.attribs = TEXT,TEXT+				firstline.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>						firstletter = First letter				firstletter.selector = +:first-letter				firstletter.attribs = TEXT,TEXT+				firstletter.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>						P_plus = Page content, next paragraph				P_plus.selector = ++ P				P_plus.attribs = BODYTEXT,TEXT+				P_plus.example (					<P class="bodytext"><strong>First paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>					<P class="bodytext"><strong>Second paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>					<P class="bodytext"><strong>Third paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>				)				links = < CSS_editor.ch.A				links.example = <P class="bodytext">This is bodytext <A href="#">with a link</A> in it.</P>						}			links = < CSS_editor.ch.A			links.example = <P>This is text <A href="#">with a link</A> in it.</P>		}				H1 = Header 1		H1.selector = H1		H1.attribs = HEADER		H1.example = <H1>Header 1 example <A href="#"> with link</A></H1><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H1.exampleStop=1		H1.ch.links = < CSS_editor.ch.A		H1.ch.links.example = 				H2 = Header 2		H2.selector = H2		H2.attribs = HEADER		H2.example = <H2>Header 2 example <A href="#"> with link</A></H2><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H2.exampleStop=1		H2.ch.links = < CSS_editor.ch.A		H2.ch.links.example = 				H3 = Header 3		H3.selector = H3		H3.attribs = HEADER		H3.example = <H3>Header 3 example <A href="#"> with link</A></H3><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H3.exampleStop=1		H3.ch.links = < CSS_editor.ch.A		H3.ch.links.example = 				H4 = Header 4		H4.selector = H4		H4.attribs = HEADER		H4.example = <H4>Header 4 example <A href="#"> with link</A></H4><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H4.exampleStop=1		H4.ch.links = < CSS_editor.ch.A		H4.ch.links.example = 				H5 = Header 5		H5.selector = H5		H5.attribs = HEADER		H5.example = <H5>Header 5 example <A href="#"> with link</A></H5><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H5.exampleStop=1		H5.ch.links = < CSS_editor.ch.A		H5.ch.links.example = 				H6 = Header 6		H6.selector = H6		H6.attribs = HEADER		H6.example = <H6>Header 6 example <A href="#"> with link</A></H6><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>		H6.exampleStop=1		H6.ch.links = < CSS_editor.ch.A		H6.ch.links.example = 				PRE = Preformatted code		PRE.selector = PRE		PRE.attribs = TEXT,margin-top,margin-bottom		PRE.example (<PRE>This is &lt;PRE&gt; content!This is line number one  Line number two with two spacer indents.  Another line there	Tabulated lineNormal line again.		</PRE><PRE>Yet a &lt;PRE&gt; section here!</PRE>		)				OL = Ordered bullet lists (numbers)		OL.selector = OL		OL.attribs = TEXT,BULLETS		OL.example = <P>Ordered bulletlist:</P><OL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></OL>				UL = Unordered bullet lists		UL.selector = UL		UL.attribs = TEXT,BULLETS		UL.example = <P>Un-Ordered bulletlist:</P><UL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></UL>				TABLE = Tables in content		TABLE.selector = TABLE.contenttable		TABLE.attribs = TABLE		TABLE.example ( 			<table class="contenttable">				<tr>					<td><P>Column/Row 1</P></td>					<td><P>Column number 2</P></td>					<td><P>Column number 3</P></td>				</tr>				<tr>					<td><P>Row 2</P></td>					<td><P>Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</P></td>					<td><P>Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P></td>				</tr>			</table>		)		TABLE.exampleStop=1		TABLE.ch {			TD = Table cells			TD.selector = TD			TD.attribs = TD		}		TABLE.ch.P < .P.ch.P		TABLE.ch.P.selector = P		BLOCKQUOTE = Indented blocks		BLOCKQUOTE.selector = BLOCKQUOTE		BLOCKQUOTE.attribs = margin-left, margin-right		BLOCKQUOTE.example = <BLOCKQUOTE><P>This is bodytext in a block-quote.</P></BLOCKQUOTE>		#		tx_myextension = < plugin.tx_myextension.CSS_editor	}}*/// Commented out since it needs update - or a vision... ?# TYPO3 CVS ID: $Id: editorcfg.txt 503 2004-11-16 15:24:28Z typo3 $

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -