Skip to main content
8 events
when toggle format what by license comment
May 6 at 11:14 comment added Wongjn No, I don't know a tutorial for creating a plugin with wp-scripts.
May 6 at 10:40 comment added webwurm Thanks again, I sadly can't get it to work - when I create a new plugin with wp-scripts, create the files and folders, add the infos and scripts to the package.json - I still don't see a plugin appear. But I don't want to bother you further. Do you maybe know a tutorial for creating a plugin with wp-scripts? Everything I find is either with the create-block or is depricated. I tried around with the info I found in the docs too, but sadly without luck.
May 4 at 20:45 comment added Wongjn Have a JavaScript file with the steps above that gets compiled by wp-scripts package. Enqueue the compiled file into the block editor via the enqueue_block_editor_assets hook.
May 4 at 20:38 comment added webwurm Thanks, your info and point to the docs helped! I created my first "new" (as in: with React) wordpress-plugin! One small question: I started now off with npx @wordpress/create-block multi-columns, but I don't need all that "new block" logic. How do I create a project where I just want to add the format?
May 4 at 20:35 vote accept webwurm
May 4 at 14:36 history edited Wongjn CC BY-SA 4.0
added 585 characters in body
S May 4 at 14:30 review First answers
May 5 at 16:51
S May 4 at 14:30 history answered Wongjn CC BY-SA 4.0