Write a micro editor plugin that shows the text "Hello world" when editor starts. Source…
- User
Write a micro editor plugin that shows the text "Hello world" when editor starts. Source code only, no explanations.
Assistant
const plugin = (editor) => { editor.on('init', () => { editor.setContent('Hello world'); }); }; module.exports = plugin;
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.