Usage
AI Text Generator
The AI Text Generator lets you create and iteratively refine content through a conversational interface.
Generating content
- Place your cursor in a CKEditor field where you want to insert content.
- Click the AI Text toolbar button (sparkle icon).
- In the dialog, type a prompt describing the content you need, e.g. "Write an introduction about sustainable urban planning".
- Press Enter or click the send button.
- The generated HTML content appears in the preview area.
Tip
Be specific in your prompts. Instead of "Write about sustainability", try "Write a 200-word introduction about sustainable urban planning for a municipal website, targeting city council members".
Refining content
After the initial generation, you can refine the result with follow-up instructions:
- Type a follow-up instruction in the input field, e.g. "make it shorter", "more formal", or "add a call to action".
- The AI retains the full conversation context and adjusts the content accordingly.
- Repeat until you're satisfied with the result.
Note
The conversation history is maintained for the entire dialog session. Each refinement builds on the previous result. Closing the dialog resets the conversation.
Inserting into the editor
- Click Insert into Editor to insert the final content at the cursor
- position in CKEditor.
The dialog closes automatically and focus returns to the editor.
Keyboard shortcuts
| Shortcut | Action |
|---|---|
| Enter | Send prompt / generate text |
| Shift + Enter | New line in the prompt input |
| Escape | Close the dialog |
Token tracking
The dialog displays cumulative input and output token counts at the bottom right corner. This helps editors monitor API usage during a session.
Hint
Token counts reset when the dialog is closed and reopened. They track cumulative usage across all prompts within a single dialog session.
AI Translate
The AI Translate plugin translates the full editor content into a target language while preserving all HTML tags and formatting.
Translating content
- Enter or select content in a CKEditor field.
- Click the AI Translate toolbar button (globe icon).
- Select the target language from the dropdown.
- Click Translate. The entire editor content is replaced with the translated version.
Note
The translation preserves all HTML structure, tags, and attributes. Only visible text content is translated. The translate endpoint uses a higher token limit (4000) to accommodate full-page content.
Lorem Ipsum
The Lorem Ipsum plugin inserts placeholder text for layout prototyping.
- Place the cursor where you want the text inserted.
- Click the Lorem Ipsum toolbar button (text lines icon).
- In the dialog, choose the number of paragraphs (1–20).
- Click Insert. The selected number of Lorem Ipsum paragraphs are inserted at the cursor position.
Tip
The Lorem Ipsum plugin is especially handy during development and layout
work. You can remove it from the toolbar in production by omitting
LoremIpsum from your RTE preset's toolbar items.