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

Handle LM blocks being used outside LM templates #7145

Open
Imran92 opened this issue Sep 1, 2023 · 1 comment
Open

Handle LM blocks being used outside LM templates #7145

Imran92 opened this issue Sep 1, 2023 · 1 comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Pri] Low Cosmetic issue, low impact, easy workaround [Type] Bug

Comments

@Imran92
Copy link
Contributor

Imran92 commented Sep 1, 2023

Steps to Reproduce

  1. Activate a block theme
  2. Go to Appearance -> Editor
  3. Open any template other than the LM template
  4. Try to find a LM specific block (Like 'Lesson actions') block

What I Expected

Either not be able to find the LM blocks in non-LM templates or even if we add them in the right context, for example, in a non-LM Lesson template, it shouldn't look broken

What Happened Instead

We could add them in all templates and they looked broken after being added in non-LM lesson templates

PHP / WordPress / Sensei LMS version

8.1, 6.3, 4.16.1

Browser / OS version

Chrome, Opera

6662212-zd-a8c

@Imran92 Imran92 added [Type] Bug [Pri] Low Cosmetic issue, low impact, easy workaround labels Sep 1, 2023
@github-actions
Copy link

github-actions bot commented Sep 2, 2023

Support References

This comment is automatically generated. Please do not edit it.

  • 6662212-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Pri] Low Cosmetic issue, low impact, easy workaround [Type] Bug
Projects
None yet
Development

No branches or pull requests

1 participant