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

[Feature request] Fakeable block definition #66

Open
ezitisitis opened this issue Jun 18, 2024 · 1 comment
Open

[Feature request] Fakeable block definition #66

ezitisitis opened this issue Jun 18, 2024 · 1 comment

Comments

@ezitisitis
Copy link

Hi,

About the BumpCore\EditorPhp\EditorPhp::fake(), I would recommend to give an option to choose which blocks user want to generate

Thanks for the package

@megasteve19
Copy link
Member

Hi! Thank you for your feedback.

I think it’s a great idea. Just to confirm, do you mean something like the following example?

EditorPhp::fake(
   except: [Image::class],
   // Or
   only: [Table::class]
)

In this example, I included the except parameter as well. The actual implementation might differ, but this is just for illustration.

If this is what you meant, please let me know so I can implement it.

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

2 participants