[TYPO3-UG Dutch] Vraagje over de default rte(htmlarea) in typo3

Ramon Fränzel r.franzel at planet.nl
Thu Nov 20 11:51:14 CET 2008


Beste Allen,

 

Onze sites draaien momenteel op : TYPO3 Ver. 4.1.7


En de standaard versie van de rte : 

 

rtehtmlarea

1.5.6

 

 

Ik wil onze klanten de optie bieden om uit een paar fonts te kunnen kiezen
in de editor.

Kan iemand mij helpen met de volgende vraag.

 

Hoe defineer ik welke fonts geselecteerd kunnen worden?

Waarom worden wijzigingen in de editor met deze configuratie niet
opgeslagen?

 

Huidige TSconfig voor de editor.

 

RTE.default.FE < RTE.default

RTE.config.tt_content.bodytext.proc.overruleMode = none

RTE.default.proc.overruleMode = ts_images, ts_reglinks

RTE.default.FE.userElements >

RTE.default.FE.userLinks >

RTE.default.proc.entryHTMLparser_db.tags.img >

// RTE.default.contentCSS = fileadmin/website/template/website.css

RTE.default.contentCSS = fileadmin/bizznes.nl/template/bizznes.css

RTE.default.useCSS = 1

RTE.default.disableEnterParagraphs = 0

RTE.default.showButtons = *

// fontsize,fontstyle

RTE.default.hideButtons =
subscript,strikethrough,superscript,justifyfull,bgcolor,textindicator,emotic
on,showhelp,about

 

RTE.default.proc {

 

  internalizeFontTags = 1

 

  // TRANSFORMATION METHOD

//  overruleMode = ts_css

  // LINES CONVERSION

  dontConvBRtoParagraph = 1

  // TAGS ALLOWED OUTSIDE P & DIV

  allowTagsOutside = img,hr

  // TAGS ALLOWED

  allowTags = font, table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div,
p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup,
strike, a, img, nobr, hr, tt, q, cite, abbr, acronym,  style

  // TAGS DENIED

  denyTags = 

  // ALLOWED P & DIV ATTRIBUTES

  keepPDIVattribs = align,class,style,font

  // CONTENT TO RTE

  HTMLparser_rte {

    // TAGS ALLOWED

    allowTags < RTE.default.proc.allowTags

    removeTags = 

    // DO NOT REMOVE UNMATCHED TAGS

    keepNonMatchedTags = 0

  } 

}  

RTE.default.proc {

   dontConvBRtoParagraph = 1

}

#no wrapping of RTE lines

tt_content.text.20.parseFunc {

  nonTypoTagStdWrap.encapsLines.nonWrappedTag >

  nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = | </br>

} 

RTE.classes >

RTE.classesAnchor.internalLink.titleText >

RTE.classesAnchor >

RTE.config.tt_news.bodytext < RTE.config.tt_content.bodytext

 

Alvast bedankt voor jullie hulp.

 

Met vriendelijke groet,

 

Ramon Fränzel



More information about the TYPO3-UG-dutch mailing list