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

Gitenberg: exploring cf7-blocks plugin #19

Open
bangank36 opened this issue May 24, 2023 · 3 comments
Open

Gitenberg: exploring cf7-blocks plugin #19

bangank36 opened this issue May 24, 2023 · 3 comments

Comments

@bangank36
Copy link
Owner

bangank36 commented May 24, 2023

Summary

  • As part of the gitenberg implementation, I looked into the cf7-blocks plugin, a Wordpress plugin that bring Gutenberg editor into Contact Form 7
  • Some points worth mentioning
    • The default settings for the Editor could be extracted
    • Cf7-blocks brought some custom block in block-library dir, worth looking

Dev notes

  • To start development on frontend
    1. Create new site in WP Local
    2. Install Cf7 plugin
    3. Fork the cf7-blocks (no) Install cf7-blocks in app/wp-content/plugins (nit: add new form on first try)
    4. Run npm install --legacy-peer-deps
    5. Run npm run start and start tweaking

Reference

#17

@bangank36 bangank36 converted this from a draft issue May 24, 2023
@bangank36
Copy link
Owner Author

bangank36 commented May 24, 2023

Update

  • How the Iso instance settings is registered
  • How the new blocks is registered
  • Cf7 blocks has more elegant design compare to the origin iso block editor
Origin Cf7
Image Image

@bangank36
Copy link
Owner Author

25 May 2023

  • Option to enable inserter in sidebar
iso: {
						moreMenu: {
							topToolbar: true
						},
						sidebar: {inserter: false, inspector: true},
						toolbar: {navigation: true, inspector: true}
					}

@bangank36 bangank36 moved this from In Progress to Triage in Personal Development May 26, 2023
@bangank36
Copy link
Owner Author

27 May 2023

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

No branches or pull requests

1 participant