Search code examples
hyperlinktypo3configwizardrte

TYPO3 RTE (htmlarea) - How can I disable options on Link Wizard (mail,file, etc.)


in Backend TYPO3: How can I disable one of these options on RTE (htmlarea), when the editor click on the LINK-Button (anchor). The Link Wizard starts in new window and the editor can choose the link to a page, folder, mail or ext. website.

I want to remove some of these options. Only "Page" and "Mail" will be allowed.

I thought it was on the pageconfig.ts

RTE.default.blindlinkoptions = spec,url

But it doesn't work. Anyone an idea? Thanks.


Solution

  • There it is:

    RTE.default.buttons.link.options.removeItems = page,file,url,mail,spec, folder