А это настройки стандартного виз. редактора
PHP код:
#RTE.classes {
# myImageStyle {
# #name = Изображение по правому краю
# #value = float: left; margin: 0 5px;
# }
#}
# Specific configuration for the Image Style menu(?!?!?!):
#RTE.default.classesImage = myImageStyle
#RTE.default.blindImageOptions = magic
#RTE.default.buttons.formatblock.removeItems = h1,h2,h3,h4,h5,h6,pre,section,div,nav,footer,p,articlem
#RTE.default.hideButtons = formatblock, blockstyle, textstyle, about, indicator, textindicator, subscript, superscript, insertcharacter,
#RTE.default {
# showButtons = bold, italic, orderedlist, unorderedlist, outdent, indent, link, code, cleanup, unlink, chMode, removeformat, image, table, findreplace, spellcheck, toggleborders, tableproperties, tablerestyle, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columnproperties, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge, left, center, right, justifyfull
# }
RTE {
default {
showTagFreeClasses = 1
# указываем где находится файл стилей
contentCSS = fileadmin/template/systemdir/rte.css
# очищаем старые стили
classesAnchor >
classesLinks =
# устанавливаем классы для
# текста
classesCharacter := addToList(coding, note, important, warning, red_txt, bgcolor-gray)
# блоков
classesParagraph := addToList(coding, note, important, warning, float_left, center, bgcolor-gray)
# ячеек таблиц
classesTD := addToList(sub)
# таблиц
classesTable := addToList(full, fixed)
# список всех доступных классов
proc.allowedClasses := addToList(coding, note, important, warning, float_left, center, bgcolor-gray)
}
}
# RTE.default.classesTable = style1,style2
# RTE.default.proc.allowedClasses := addToList(style1,style2)