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

add ability to set custom css classes on block #97

Open
danmarsden opened this issue Feb 13, 2023 · 0 comments
Open

add ability to set custom css classes on block #97

danmarsden opened this issue Feb 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@danmarsden
Copy link
Member

Moodle's html/text block allows us to set custom classes to the block - we should reproduce that functionality within the multiblock plugin.

When creating a user tour in Moodle - the admin can select a block "type" eg "multiblock" but it highlights all blocks of that type on the page. If you want to select a single block it's quite hard to target using a simple css rule - particularly if you are using a dashboard style page as the instanceid of the block will be different on every users dashboard.

If we can add a custom class to the block it would make it easier to target in something like a user tour, but also easier to style a specific block within the site - even when used on a dashboard page.

@danmarsden danmarsden added the enhancement New feature or request label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant