Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   HTMLArea, RTE, tinymce_rte и другие визуальные редакторы (http://forum.typo3.ru/forumdisplay.php?f=24)
-   -   rte HTMLArea не сохраняет <u> тэг (http://forum.typo3.ru/showthread.php?t=2552)

(:) 30.01.2007 16:37

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

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

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

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

Код:

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


Часовой пояс GMT +4, время: 02:56.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot