{"id":18352483,"url":"https://github.com/frontity/frontity-slot-block","last_synced_at":"2025-04-10T00:38:30.038Z","repository":{"id":98801680,"uuid":"364938499","full_name":"frontity/frontity-slot-block","owner":"frontity","description":"A block to insert Frontity Slots directly in the block editor.","archived":false,"fork":false,"pushed_at":"2021-05-11T13:58:06.000Z","size":764,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T00:38:27.060Z","etag":null,"topics":["frontity","gutenberg","slot"],"latest_commit_sha":null,"homepage":"https://frontity.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frontity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-06T14:29:12.000Z","updated_at":"2021-05-11T13:58:09.000Z","dependencies_parsed_at":"2023-03-13T15:54:43.121Z","dependency_job_id":null,"html_url":"https://github.com/frontity/frontity-slot-block","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-slot-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-slot-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-slot-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frontity%2Ffrontity-slot-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frontity","download_url":"https://codeload.github.com/frontity/frontity-slot-block/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138008,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontity","gutenberg","slot"],"created_at":"2024-11-05T21:36:07.923Z","updated_at":"2025-04-10T00:38:30.011Z","avatar_url":"https://github.com/frontity.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontity Slot Block\n\nInsert a Frontity Slot in the block editor (aka Gutenberg).\n\n## Description\n\nThis plugin adds a new block to the block editor called _Frontity Slot_, that inserts a Frontity Slot directly in the content.\n\n![Frontity Slot Block](assets/screenshot-1.png)\n\nIt requires the _Slot Block_ processor, which is exported in the `@frontity/html2react` package:\n\n```js\nimport slotBlock from \"@frontity/html2react/processors/slot-block\";\n\nexport default {\n  state: {\n    // ...\n  },\n  actions: {\n    // ...\n  },\n  libraries: {\n    html2react: {\n      processors: [slotBlock],\n    },\n  },\n};\n```\n\n## Demo\n\n[![Frontity Slot Block Demo](assets/loom-demo.png)](https://www.loom.com/share/d0a0d91e6f5c47b08a2d3da3eaf32629)\n\n## Feature Discussion\n\nThis Frontity feature is discussed at https://community.frontity.org/t/frontity-slot-block/4534. Feel free to join and participate.\n\n## Installation\n\n1. Upload the plugin files to the `/wp-content/plugins/frontity-slot` directory, or install the plugin through the WordPress plugins screen directly.\n1. Activate the plugin through the 'Plugins' screen in WordPress\n\n## Frequently Asked Questions\n\n### What is the benefit of using this block instead of just an html2react processor?\n\nBoth approaches work, but using Frontity Slots is more explicit, clean, and should be easier to maintain.\n\n## Frontity Channels 🌎\n\nThere are different channels at your disposal where you can find information about the Frontity project, discuss it and get involved:\n\n- 📖 **[Docs](https://docs.frontity.org)**: this is the place to learn how to build amazing sites with Frontity.\n- 👨‍👩‍👧‍👦 **[Community](https://community.frontity.org/)**: use our forum to [ask any questions](https://community.frontity.org/c/dev-talk-questions), give feedback and meet great people. This is your place too to share [what are you building with Frontity](https://community.frontity.org/c/community/showcases/19)!\n- 🐞 **[GitHub](https://github.com/frontity)**: we use GitHub only for bugs and pull requests. Questions are answered in the [community forum](https://community.frontity.org/)!\n- 🗣 **Social media**: a more informal place to interact with Frontity users, reach out to us on [Twitter](https://twitter.com/frontity).\n- 💌 **Newsletter**: do you want to receive the latest framework updates and news? Subscribe [here](https://frontity.org/).\n\n### » Get involved 🤗\n\nGot questions or feedback about Frontity? Use the [community forum](https://community.frontity.org) yo ! ❤️\n\nThe Frontity project also welcomes contributions. There are many ways to support the project! If you don't know where to start, this guide might help: [How to contribute?](https://docs.frontity.org/contributing/how-to-contribute)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Ffrontity-slot-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrontity%2Ffrontity-slot-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrontity%2Ffrontity-slot-block/lists"}