Diagram Factory TinyMCE Plugin
npm install dgf-tinymce-pluginOn the product homepage you will find a gallery with sample applications and tutorials. And you can work with a live installation of the Diagram Factory TinyMCE Plugin.
If you use npm, npm install dgf-tinymce-plugin. Otherwise, Download the latest release. You can load directly from dgfjs.org. For example:
``html`
Or for the minified version:
`html`
Setup TinyMCE with the Diagram Factory Plugin:
`html
DGF with TinyMCE
``
When you display the above page in a web browser a bar diagram will be displayed inside the tinymce editor and the toolbar shows the diagram factory's button:
!Diagram Factory inside TinyMCE
When you double click the diagram a window opens. Here you can change the data and modify the diagram's attributes:
!Diagram Factory Reader Tab
To insert a new diagram press the dgf button and choose a diagram type:
!Diagram Factory New Diagram