Hi Community, I am currently using CKEditor.Reactive (CKEditor 4.22.1) in an OutSystems Reactive application. My requirement is to allow users to add shapes directly inside the CKEditor content, similar to what is available in Word or PowerPoint, such as: Rectangle Circle Arrow Text Box Flowchart Shapes Other diagram elements I have already analyzed the CKEditor documentation, Forge component, and available toolbar/plugins, but I have not been able to find a suitable solution that supports shape creation directly within the editor. Current Situation CKEditor 4.22.1 (CKEditor.Reactive Forge Component) Users can add text, tables, images, and formatting successfully
Need support for creating or inserting editable shapes within the editor content The content will eventually be used for document/PDF generation
Questions :Has anyone successfully implemented shape support in CKEditor 4?
Has anyone integrated tools like Draw.io (diagrams.net), SVG editors, or any other diagram solution with CKEditor? Would you recommend a different editor/component that provides rich text editing along with shape support? How did you handle PDF generation when shapes were included? Any suggestions, implementation approaches, or examples from previous projects would be greatly appreciated. Thank you in advance for your support and guidance. 😊
You won’t be able to get “Word‑like” native shapes (rectangles, arrows, flowcharts, etc.) directly inside CKEditor 4 content with the standard CKEditor.Reactive component in OutSystems 11. CKEditor 4 supports text, images, tables, etc., but there is no official or mature plugin that gives full diagramming/shape‑drawing capabilities inside the editor.
Below is what typically works in OutSystems projects with similar requirements.
Short answer: no native support, and no stable plugin for generic shapes.
What you can do in CKEditor 4:
But:
So if the requirement is “users click inside the editor and draw rectangles/arrows like in Word,” CKEditor 4 alone won’t meet it.
A pattern that works well with OutSystems Reactive + CKEditor is:
Open a separate diagram editor
User creates the diagram/shape
Export as image or SVG
Insert into CKEditor Typical options:
Inside CKEditor:
<img>
CKEDITOR.instances[...].insertHtml()
Save content as HTML
Pros:
Cons:
If you need tight control over shapes, a cleaner approach is:
This approach gives more control for versioning, reuse, and rendering.
For OutSystems 11 Reactive, the Forge options (CKEditor, Froala, TinyMCE, etc.) are mostly rich text editors, not diagram editors. They generally have the same limitation: no built‑in Word‑style shapes.
If you want a single UI that has both text and shapes in one canvas:
In practice, most OutSystems projects stick to:
For PDF generation, your pipeline typically looks like:
Store CKEditor content as HTML
<svg>
Render HTML to PDF Your options in OutSystems 11:
Ensure shapes are PDF‑friendly
Testing & limitations
Has anyone successfully implemented shape support in CKEditor 4?
Has anyone integrated Draw.io / SVG editors / other diagram tools with CKEditor?
Would you recommend a different editor/component that provides rich text + shapes?
How did you handle PDF generation when shapes were included?
If you share whether diagrams must be editable inline in the same CKEditor area or if a separate “Edit Diagram” action is acceptable, we can narrow down a concrete implementation pattern for OutSystems Reactive (e.g., how to wire the JS, variables, and entities).