PDA

Просмотр полной версии : rte HTMLArea не сохраняет <u> тэг


(:)
30.01.2007, 16:37
Всем привет

добавил кнопку для тэга подчеркивания.
выделяю текст и нажимаю кнопку текст подчеркивается.

после сохранения изменеий текст снов не подчеркнут

в чем может быть затык?
вот моя конфигурация

RTE.default {
disableEnterParagraphs = 0
enableWordClean = 0
showButtons = chMode, bar, cut, copy, paste, bar, undo, redo, bar, findreplace, removeformat, insertcharacter, inserttag, textindicator, bold, italic, underline, subscript, superscript, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, bgcolor, line, link, image, formatblock, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge

toolbarOrder = chMode, bar, cut, copy, paste, bar, undo, redo, bar, findreplace, spellcheck, removeformat, acronym, insertcharacter, acronym, inserttag, textindicator, linebreak, bold, italic, underline, subscript, superscript, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, line, link, image, linebreak, textstyle, formatblock, linebreak, fontsize, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, columninsertafter, celldelete, cellsplit, cellmerge

hideButtons = fontstyle, strikethrough, lefttoright, righttoleft, emoticon, user, showhelp, about, spellcheck, blockstylelabel, blockstyle, textstylelabel, acronym, textstyle
hidePStyleItems = H5,H6,PRE,ADDRESS

proc {
dontConvBRtoParagraph = 1
keepPDIVattribs = align,class,style,id
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font, tt, q, cite, abbr, acronym, address, sdfield
entryHTMLparser_db.rmTagIfNoAttrib = span,div
}
}

заранее спасибо

(:)
30.01.2007, 20:36
вопрос решился

поумолчанию типично конфигурации РТЕ тег u был в списке
removeTags почистил в ветках эту опцию
RTE.default.removeTags
RTE.default.proc.entryHTMLparser_db.removeTags