Open tkowtsch opened 5 months ago
Looks like a config is missing. Add those two lines to your page.tsconfig or rte.tsconfig and clear the caches.
RTE.default.buttons.link.properties.class.allowedClasses = btn, btn btn-primary, btn btn-secondary, btn btn-success, btn btn-danger, btn btn-warning, btn btn-info, btn btn-light, btn btn-dark, btn btn-link, btn external-link, internal-link, any-other-classes, btn btn-outline-primary, btn btn-outline-secondary, btn btn-outline-success, btn btn-outline-danger, btn btn-outline-warning, btn btn-outline-info, btn btn-outline-light, btn btn-outline-dark
RTE.default.proc.allowedClasses = btn, btn btn-primary, btn btn-secondary, btn btn-success, btn btn-danger, btn btn-warning, btn btn-info, btn btn-light, btn btn-dark, btn btn-link, external-link, internal-link, any-other-classes, btn btn-outline-primary, btn btn-outline-secondary, btn btn-outline-success, btn btn-outline-danger, btn btn-outline-warning, btn btn-outline-info, btn btn-outline-light, btn btn-outline-dark
Yepp, that works. In best case, it'd come with the extension itself, right?
Bug Report
Prerequisites
Description
Noticed while I searched for the Bootstrap Buttons
Steps to Reproduce
Expected behavior
All CSS classes that can be applied to links via RTE should be valid in Link browser
Actual behavior
Screenshots
Versions
bootstrap_package: [14.0.7]