Open mrrcrick opened 2 years ago
Install Node . Once you install Node . install @wordpress/create-block . Setup a block called gutenberg-protect-block.
@Mahmoud1813 Use npx @wordpress/create-block
Good evening Richard,
I've installed Node and I tried running the command npx @wordpress/create-block but it isn't working. Please advise me on what I should be doing.
Kind Regards, Mahmoud Aboseria
On Fri, Jul 1, 2022 at 6:15 PM richard crick @.***> wrote:
@Mahmoud1813 https://urldefense.com/v3/__https://github.com/Mahmoud1813__;!!BhJSzQqDqA!WRmhmbO5PK6TgrR1FB-RHW-uttp-Ta73KVnDU2n9ggNiV26EXlWIpbzhhVexeKv2QvFAp3CPqFnlmsOUkcsPd-6ua4c$ Use npx @wordpress/create-block
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/mrrcrick/Codeday/issues/3*issuecomment-1172755586__;Iw!!BhJSzQqDqA!WRmhmbO5PK6TgrR1FB-RHW-uttp-Ta73KVnDU2n9ggNiV26EXlWIpbzhhVexeKv2QvFAp3CPqFnlmsOUkcsP8MtznNk$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AQ5L5EB2V3RT72G3R5OQF4TVR5UWJANCNFSM52NHXJDQ__;!!BhJSzQqDqA!WRmhmbO5PK6TgrR1FB-RHW-uttp-Ta73KVnDU2n9ggNiV26EXlWIpbzhhVexeKv2QvFAp3CPqFnlmsOUkcsPjLUdafI$ . You are receiving this because you were mentioned.Message ID: @.***>
Hi Mahmoud, can you screen shot . What error do you get?
This is what I get.
On Thu, Jul 7, 2022 at 3:45 AM richard crick @.***> wrote:
Hi Mahmoud, can you screen shot . What error do you get?
— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/mrrcrick/Codeday/issues/3*issuecomment-1177206802__;Iw!!BhJSzQqDqA!Q5dVc8l8kK-8WVNcTHFJgFbeRxGFQYnJQ536uLcuz0_9FhXbeWPu2fQtnbp_E805S8FwdDd_5GnQiVB328s28M25QY0$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AQ5L5EEE4IADRIDPMYGPLPDVS2DITANCNFSM52NHXJDQ__;!!BhJSzQqDqA!Q5dVc8l8kK-8WVNcTHFJgFbeRxGFQYnJQ536uLcuz0_9FhXbeWPu2fQtnbp_E805S8FwdDd_5GnQiVB328s2r0KDQyo$ . You are receiving this because you were mentioned.Message ID: @.***>
Npm install once installed to test block npm run start
Put the block in the WP-content/Plugins Folder
I have tested the block's php file in the plugins folder and it works. Am I supposed to be merging docker-env and gutenberg block and pushing it?
Also to access the plugins folder I had to change the compose file to show me the wp-content and it has a lot of files like I had before and you told me to get rid of the extra files. Should I just upload the plugin through the gutenberg backend? @mrrcrick
Ok now that is past testing I will assign it back to Mahmoud .. I will do a code review then merge it in .
Mahmoud1813