문제

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.

도움이 되었습니까?

해결책

There it is:

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top