When I write "Webship test: the first post of a topic." in the editor

Write the message in the editor that is open, in place of what it holds; "add" writes after what it holds (a quote, the text of the post being edited). BBCode is written as it is: "[b]bold[/b]".

Examples

When I write "Webship test: the first post of a topic." in the editor
When I add "Webship test: an answer to the quote." to the editor
And we write "A [b]bold[/b] word." in the editor
And we add "Webship test: one more line." to the editor
When I write "" in the editor

Pattern

When(/^(?:I|we) (write|add) "([^"]*)" (?:in|to) the editor$/, …)

Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.