菜单

How to allow embedding of Flash (YouTube videos for example) in the TYPO3 RTE

2010年09月6日 - typoscript

How to allow embedding of Flash (YouTube videos for example) in the TYPO3 RTE


1 RTE.default.proc {
2 allowTags := addToList(object,param,embed)
3 allowTagsOutside := addToList(object,embed)
4 entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
5 }

How to get rid of those annoying images inserted before links


1 RTE.classesAnchor {
2 internalLink.image >
3 externalLink.image >
4 externalLinkInNewWindow.image >
5 internalLinkInNewWindow.image >
6 download.image >
7 mail.image >
8 }

How to insert larger images without beeing resized or in other words maximum image size for RTE


1 RTE.default {
2 buttons.image.options.magic.maxWidth = 1000
3 buttons.image.options.magic.maxHeight = 1000
4 buttons.image.options.plain.maxWidth = 1000
5 buttons.image.options.plain.maxHeight = 1000
6 }

In this case you just need to modify those values (1000′s) to your desired max width and max height

How to disable entering of paragraphs when pressing on Enter key


1 RTE.default{
2 disableEnterParagraphs=1
3 }

After you enable this setting you will get br’s inserted instead of p’s when pressing the Enter key

发表评论

电子邮件地址不会被公开。 必填项已用*标注