Actions
Bug #92752
closedlinkhandler don't show up all classes in linkbrowser
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
i configured the linkbrowser for tx_news 8.5 with
page.ts
TCEMAIN.linkHandler.tx_news { handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler label = News configuration { table = tx_news_domain_model_news storagePid = 41 hidePageTree = 0 } scanAfter = page }
and ts-setup
config.recordLinks.tx_news { typolink { parameter = 42 additionalParams.data = field:uid additionalParams.wrap = &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]=| useCacheHash = 1 } }
the linkbrowser don't show the page-css-class (in the select-dropdown) and title in the news-tab. all other classes (url, file, mail) are selectable.
my rte configuration
RTE.default.classesAnchor { page { class = internal-link type = page titleText = öffnet internen Link } } RTE.default.buttons.link.page.properties.class.default = internal-link
Updated by Philipp Kitzberger over 2 years ago
@wini, try migrating that configuration from PageTS to CKeditor yaml syntax, e.g.
buttons: link: tel: properties: class: fax: 'fax' properties: class: allowedClasses: 'fax' classes: fax: name: 'Fax'
Defining a default class is not possible with CKeditor anymore. And the outside of CKeditor linkbrowser can't handle selectable classes at all.
Updated by Riccardo De Contardi over 2 years ago
- Related to Feature #98074: Add class dropdown to regular linkbrowser added
Updated by Riccardo De Contardi over 2 years ago
- Status changed from New to Needs Feedback
Updated by Garvin Hicking 5 months ago
- Related to Bug #104157: Link Browser of TCA link fields and RTE links differs in link options added
Updated by Garvin Hicking 5 months ago
- Status changed from Needs Feedback to Closed
Closing the issue as Philipp also stated, it needs YAML config. This has now also been better documented via #104157
Actions