Add custom class for links in RTE

Other topics

Add custom link classes

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)
    }
}

Contributors

Topic Id: 9064

Example Ids: 28141

This site is not affiliated with any of the contributors.