Configuration/TSconfig/Page/RTE.rte_htmlarea.pagets
// configure a minimal RTE for the description field that
// only allows basic formatting and links
RTE.config.tx_html5mediakit_domain_model_media.description {
showButtons = bold,italic,link,chMode,removeformat,undo,redo
contextMenu.showButtons = insertparagraphbefore,insertparagraphafter
proc {
allowTags = i,em,b,strong,br,p,a
denyTags = u,img,div,center,pre,font,hr,sub,sup,li,ul,ol,blockquote,strike,span
dontProtectUnknownTags_rte = 1
preserveDIVSections = 0
entryHTMLparser_db = 1
entryHTMLparser_db {
tags {
i.allowedAttribs = 0
em.allowedAttribs = 0
b.allowedAttribs = 0
strong.allowedAttribs = 0
br.allowedAttribs = 0
p.allowedAttribs = 0
}
keepNonMatchedTags = 0
}
}
}