typo3 Add custom class for links in RTE Add custom link classes

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

RTE {
    classes {
        btn-lg {
            name = Button (large)
            requires = btn btn-default
        }

        btn-default {
            name = Button (default)
            requires = btn
        }
    }

    default {
        buttons.link.properties.class.allowedClasses := addToList(btn-lg, btn-default)
        proc.allowedClasses := addToList(btn-lg, btn-default)
    }
}


Got any typo3 Question?