[TYPO3-RTE] Embed, Object, Param Tags to allow Youtube

Trent Stromkins bmx269 at gmail.com
Wed Nov 5 20:55:49 CET 2008


I am trying to allow the embeded youtube.com code into posts, and tried 
to replicate what was added to allow image tags. The code is wrong as 
it still converts the the object code to readable code, not html. Am I 
missing something?

RTE.default {
   ## Enable the image button
   showButtons := addToList(image)

   ## Tags allowed outside p & div
   ## Adding img tag to the default list
   proc.allowTagsOutside := addToList(img)

## Added to allow embeded video
   proc.allowTagsOutside := addToList(object)
   proc.allowTagsOutside := addToList(param)
   proc.allowTagsOutside := addToList(embed)

   ## Do not remove img tags
   proc.entryHTMLparser_db.tags.img >

## Added to allow embeded video
   proc.entryHTMLparser_db.tags.object >
   proc.entryHTMLparser_db.tags.embed >
   proc.entryHTMLparser_db.tags.param >
}
RTE.default.FE.showButtons < RTE.default.showButtons
RTE.default.FE.proc.allowTagsOutside < RTE.default.proc.allowTagsOutside
RTE.default.FE.proc.entryHTMLparser_db.tags.img >

## Added to allow embeded video
RTE.default.FE.proc.entryHTMLparser_db.tags.object >
RTE.default.FE.proc.entryHTMLparser_db.tags.embed >
RTE.default.FE.proc.entryHTMLparser_db.tags.param >



More information about the TYPO3-project-rte mailing list