---
title: "TinyMCE Plugin"
url: https://festi.dev/8.0/Plugins/TinyMce/
---

# 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:

1. Using the Core instance:
```php
$idePlugin = Core::getInstance()->getPluginInstance('TinyMce');
$editor = $idePlugin->fetchEditor($value, 'editor');
```

2. Using the plugin instance directly:
```php
$editor = $this->plugin->tinyMce->fetchEditor($value, 'editor');
```

### DGS Field Implementation

To use TinyMCE in your DGS forms:

```php
<field  type="tinymce"
        caption="<?php echo __('Content'); ?>"
        name="content"
        hide="true" />
```
