Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helios-ag/fmtinymcebundle
Easily add TinyMCE WYSIWYG Text Editor to your Symfony Project
https://github.com/helios-ag/fmtinymcebundle
elfinder symfony symfony-bundle tinymce tinymce-editor wysiwyg wysiwyg-editor
Last synced: 19 days ago
JSON representation
Easily add TinyMCE WYSIWYG Text Editor to your Symfony Project
- Host: GitHub
- URL: https://github.com/helios-ag/fmtinymcebundle
- Owner: helios-ag
- Created: 2015-10-21T14:15:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T10:32:06.000Z (8 months ago)
- Last Synced: 2024-04-17T05:15:17.660Z (7 months ago)
- Topics: elfinder, symfony, symfony-bundle, tinymce, tinymce-editor, wysiwyg, wysiwyg-editor
- Language: PHP
- Homepage:
- Size: 605 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
FMTinyMCEBundle
================[TinyMCE](https://github.com/tinymce/tinymce) integration in Symfony
The purpose of bundle is to provide seamless integration between elFinder and TinyMCE editor.
### Code Quality Assurance ###
|CoverAlls| License | StyleCI | Version Status |
|-----------------|-----------------|-----------------|-----------------|
|[![Coverage Status](https://coveralls.io/repos/helios-ag/FMTinyMCEBundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/helios-ag/FMTinyMCEBundle?branch=master)|[![License](https://poser.pugx.org/helios-ag/fm-tinymce-bundle/license.svg)](https://packagist.org/packages/helios-ag/fm-tinymce-bundle)|[![StyleCI](https://styleci.io/repos/44680984/shield)](https://styleci.io/repos/44680984)|[![Latest Stable Version](https://poser.pugx.org/helios-ag/fm-tinymce-bundle/v/stable.svg)](https://packagist.org/packages/helios-ag/fm-tinymce-bundle) [![Latest Unstable Version](https://poser.pugx.org/helios-ag/fm-tinymce-bundle/v/unstable.svg)](https://packagist.org/packages/helios-ag/fm-tinymce-bundle)| Downloads |
|-----------|
|[![Total Downloads](https://poser.pugx.org/helios-ag/fm-tinymce-bundle/downloads.svg)](https://packagist.org/packages/helios-ag/fm-tinymce-bundle)**TinyMCE** is a platform independent web-based JavaScript WYSIWYG HTML editor control released as open source under LGPL.
TinyMCE enables you to convert HTML TEXTAREA fields or other HTML elements to editor instances.
**Table of contents**
- [Installation](#installation)
- [Step 1: Installation](#step-1-installation)
- [Step 2: Enable the bundle](#step-2-enable-the-bundle)
- [Basic configuration](#basic-configuration)
- [Add configuration options to your config.yml](#add-configuration-options-to-your-configyml)## Installation
### Step 1: Installation
Add FMTinyMCEBundle to your composer.json:
```json
{
"require": {
"helios-ag/fm-tinymce-bundle": "~1"
}
}
```If you want to override default assets directory of Richfilemanager, add next option.
By default, assets copied to `web/assets/tinymce` or `public/assets/tinymce`
depending on Symfony version```json
{
"config": {
"tinymce-dir": "web/assets/"
}
}
```Add composer script
`"FM\\TinyMCEBundle\\Composer\\TinyMCEScriptHandler::copy",`
to scripts section of composer.json
```json
{
"scripts": {
"symfony-scripts": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"FM\\TinyMCEBundle\\Composer\\TinyMCEcriptHandler::copy",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
]
}
}
```Now tell the composer to download the bundle by running the command:
```sh
composer update helios-ag/fm-tinymce-bundle
```### Step 2: Enable the bundle
Enable the bundle in the kernel:
```php