Цитата:
Сообщение от Devil
Мне нужно формочку со стороннего сайта к каждой новости крепить (
Есть, конечно, другие варианты, но хочется все таки формочку )
PS. На обычные страницы форма вставляется как html без проблем
|
На самом деле не парсились спец. символы, так как RTE их настойчиво заменял, а потом и вовсе сохранял в базу но не в самом редакторе, то есть при повторном редактировании скрипт пропадал, но настроил такой настройкой TSConfiga:
RTE.default.proc.preserveTables = 1
RTE.default.proc.entryHTMLparser_db.keepNonMatched Tags = 1
RTE.config.tt_content.bodytext.showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle, fontstyle, fontsize, formatblock, bold, italic, lefttoright, righttoleft, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, textindicator, emoticon, insertcharacter, line, link, image, table, user, acronym, findreplace, spellcheck, chMode, inserttag, removeformat, copy, cut, paste, undo, redo, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
RTE.config.tt_news.bodytext.showButtons = textstylelabel, textstyle, formatblock,left, center, justifyfull,outdent, indent, textindicator, line, link, image, findreplace, spellcheck, chMode, removeformat, copy, cut, paste, undo, redo, showhelp, about
RTE.default.hideButtons = underline, strikethrough, subscript, superscript
RTE.default.proc {
preserveTags = script
allowTags = b,i,strong,em,table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, a, img, hr, tt, q, cite, abbr, acronym, address
overruleMode = ts_css
dontConvBRtoParagraph = 1
internalizeFontTags = 1
allowTagsOutside = img,hr,address
denyTags = sup,sub,strike,center,u
entryHTMLparser_db = 1
entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
xhtml_cleaning = 1
htmlSpecialChars = -1
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
tags.hr.allowedAttribs = class
tags.span.allowedAttribs = class
tags.b.remap = strong
tags.i.remap = em
removeTags = sdfield
keepNonMatchedTags = 1
}
exitHTMLparser_db = 1
exitHTMLparser_db {
allowTags < RTE.default.proc.allowTags
tags.b.remap = strong
tags.i.remap = em
keepNonMatchedTags = 1
htmlSpecialChars = -1
}
}
This is for rtehtmlarea. Все zehr gut!