Back to library
AI
best practice

Master Integrated Coding and Writing Blocks Post-Canvas

Iterate on code and text directly in the chat window.

Transition away from 'canvas' to using direct writing and code blocks within the chat for a more integrated editing experience.

ChatGPT

The Scenario

You are working on a coding project or a long-form writing piece and need to iterate on specific sections within the chat interface.

Before & after

The old way

Users had to open a separate 'canvas' window and manually switch between views to edit code or text. This added overhead and context-switching time of about 10 minutes.

With AI

Input data or images directly into the chat and use the built-in code blocks to iterate on the output. This streamlined process takes about 2–4 minutes.

The Prompt

Write a Python script to [INSERT_GOAL] and output it in a code block so I can test and edit it directly here.

OpenAI has moved writing and coding functionality from the separate 'canvas' interface directly into chat blocks. This allows for a more fluid, integrated workflow.

Source

Model Release Notes | OpenAI Help Center
"Writing and coding functionality is now supported directly in chat responses through writing blocks and code blocks."