Показать сообщение отдельно
Старый 25.06.2007, 11:56   #2
razawa
Senior Member
 
Регистрация: 02.03.2007
Адрес: Украина, Дружковка
Сообщений: 128
Отправить сообщение для razawa с помощью ICQ
По умолчанию

Мой TS-Config
Я тут наваял уже столько, что сам запутался.
Код:
RTE.default {
#       contentCSS = fileadmin/css/rte.css

        enableWordClean = 1
        removeTrailingBR = 1
        removeComments = 1
        showTagFreeClasses = 1
        removeTags = sdfield
	disableEnterParagraphs = 1
        allowTagsOutside = img,hr,center,
        allowedAttribs = style, color, align

        showButtons = *
        keepButtonGroupTogether = 1
        showStatusBar =  0
 
        )
 
# Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
        ignoreMainStyleOverride = 1

        proc {
#		overruleMode = ts_css
                allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, re, blockquote, b, i, u, sub, sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym, center, font
	        removeTags = sdfield
	        allowedAttribs = style, color, align
                dontConvBRtoParagraph = 1
                allowTagsOutside = img,hr,center,b,div,i,font,table,h1,h2,h3,h4,h5,h6,span,ul,br
                keepPDIVattribs = align,class,style,id,color

                HTMLparser_rte {
                        allowTags < RTE.default.proc.allowTags
		        allowedAttribs = style, color, align
	                dontConvBRtoParagraph = 1
                        removeComments = 1

		                }

	        entryHTMLparser_db = 1
                entryHTMLparser_db {
                        allowTags < RTE.default.proc.allowTags
			removeTags < RTE.default.proc.removeTags
			keepNonMatchedTags = 1
	                dontConvBRtoParagraph = 1
	                allowTagsOutside < RTE.default.proc.allowTagsOutside
		        allowedAttribs = style, color, align
                        noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
                        tags >
   		                   }
		exitHTMLparser_db {
			tags >
			keepNonMatchedTags = 1
	                dontConvBRtoParagraph = 1
				  }
	        }

        classesParagraph (
                align-left, align-center, align-right, sourceCode
		        )
					
        classesCharacter = author
        classesImage= rte_image
        classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail

        classesAnchor.default {
                page = internal-link
                url = external-link-new-window
                file = download
                mail = mail
        }
 
        showTagFreeClasses = 1
#        hideTags = font

        hideTableOperationsInToolbar = 0
        keepToggleBordersInToolbar = 1

        disableSpacingFieldsetInTableOperations = 1
        disableAlignmentFieldsetInTableOperations=1
        disableColorFieldsetInTableOperations=1
        disableLayoutFieldsetInTableOperations=1
        disableBordersFieldsetInTableOperations=0
}
razawa вне форума   Ответить с цитированием