Goal is to create something similar to this:
The new block will:
- Present the user with a text area input that allows the user to enter a prompt.
- The user can input any text into the textarea and submit the text.
- The text is sent to OpenAI GPT4 API endpoint.
- The response from OpenAI is added to Gutenberg editor body as gutenberg-compliant code/text.
Goal is to create something similar to this:
The new block will: