Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when using multiple classes: only added the first one #37

Open
moodleulpgc opened this issue Oct 18, 2023 · 0 comments
Open

Problem when using multiple classes: only added the first one #37

moodleulpgc opened this issue Oct 18, 2023 · 0 comments

Comments

@moodleulpgc
Copy link

Hi, we at ULPGC used this plugin with moodle 3.9 quite happily.
Now we have moodle 4.1, what we see is that the classes defined in config are shown on preview.
But when applied to editor text only the first class in the classes definition is really added. All after the first space is lost
For instance, a definition like
"classes": "badge badge-warning",
only applies
Badge info

whereas
"classes": "badge-warning badge ",
result in text in editor with only
Badge info

The effect is that regular bootstrap classes are missed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant