Editor modal button has invalid Bootstrap classes.

Editor modal button has invalid Bootstrap classes.

washuit-iammwashuit-iamm Posts: 84Questions: 32Answers: 1

The editor gives the "save" button on the edit modal something like: btn btn-outline-secondary btn-primary

https://editor.datatables.net/examples/styling/bootstrap4

This is not valid for BS 4.3.1 which I know the Editor currently only supports 4.1.1 right?

I guess my follow up question is then, when will later versions of BS be supported? I really need to use the new toast components in BS.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Am I right in saying the issue you've identified here is that btn-outline-secondary btn-primary are both being used on the same button?

    Allan

  • washuit-iammwashuit-iamm Posts: 84Questions: 32Answers: 1

    @allan Yes that is what I am seeing.

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    Perfect - thanks! I've committed a change which will be in 1.9 which I expect to tag and release tomorrow.

    The issue came about because I was using the same variable for both internal buttons on the form (e.g. upload button) and for the main buttons in the footer. i've split that out now.

    Allan

This discussion has been closed.