[TYPO3-rte] Re: If your images are deleted on save (solved)

Jimit Shah jeemit2007 at gmail.com
Fri Apr 7 15:47:39 CEST 2017


# Only for the bootstrap package users...

By default bootstrap package disable the image option in rte.

1)    we need to enable it from the extension manage > rtehtmlarea > enable insert image.

#    include the default rtehtmlarea image configuration file in your pagetsconfig.ts

2)   <INCLUDE_TYPOSCRIPT: source="FILE:EXT:rtehtmlarea/Configuration/PageTSconfig/Image/pageTSConfig.txt">

#    need to remove the img tag from the disable tags , add this bunch of ts on root page > Resources > into the box of pageTsConfig

RTE.default {
    proc.entryHTMLparser_db.allowTags =  b, strong, i, em, u, strike, del, big, small, sub, sup, ol, ul, li, a, link, br, p, pre, h1, h2, h3, h4, hr, span, table, tr, th, td, thead, tbody, tfoot, img

    removeTags = center, font, o:p, sdfield
}
RTE.default.proc {
    denyTags = center, font, span
}

Works fine in TYPO3 7.6.16 , bootstrap_package 7.1.0

Thanks.
JIMIT SHAH


More information about the TYPO3-project-rte mailing list