Question

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.

Was it helpful?

Solution

There it is:

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

OTHER TIPS

You could try this:

RTE.default.FE.classesAnchor.default.url > 
RTE.default.FE.classesAnchor.default.file >

or this, or both:

RTE.default.FE.classesAnchor := removeFromList(internal-link,
    internal-link-new-window, mail)

I'm not so sure about this solutions. I just looked the pathes up in the Backend in the Info module under PageTSConfig.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top