TinyMCE Plugin
The TinyMce plugin is a wrapper for the TinyMCE editor. It provides a rich text editing experience with a wide range of formatting options and features.
Features
- Rich text editing with WYSIWYG interface
- Support for images, tables, and media
- Code view for HTML source editing
- Advanced formatting options
- File upload capabilities
- Responsive design
- Customizable toolbar
Usage
Basic Editor Implementation
There are two ways to implement the TinyMCE editor:
-
Using the Core instance:
$idePlugin = Core::getInstance()->getPluginInstance('TinyMce'); $editor = $idePlugin->fetchEditor($value, 'editor');
-
Using the plugin instance directly:
$editor = $this->plugin->tinyMce->fetchEditor($value, 'editor');
DGS Field Implementation
To use TinyMCE in your DGS forms:
<field type="tinymce"
caption="<?php echo __('Content'); ?>"
name="content"
hide="true" />