PHP Classes

File: public/js/tinyMCE/textarea.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   public/js/tinyMCE/textarea.php   Download  
File: public/js/tinyMCE/textarea.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 1,246 bytes
 

Contents

Class file image Download
<?php
   
return array(
       
'relative_urls' => false,
       
'selector' => 'textarea-editable-selector',
       
'language' => 'en',
       
'inline' => true,
       
'menubar' => false,
       
'forced_root_block' => '',
       
'cleanup' => false,
       
'verify_html' => false,
       
'file_picker_types' => 'file image media',
       
'file_picker_callback' => 'filePickerCallback',
       
'images_upload_url' => '/melis/MelisCore/melisTinyMce/uploadImage',
       
'plugins' => array(
           
//[contextmenu, textcolor, colorpicker] this plugin is already built in the core editor as of TinyMCE v. 5
           
'lists advlist autolink link image charmap print preview anchor',
           
'searchreplace visualblocks code fullscreen',
           
'insertdatetime media table paste autoresize minitemplate'
       
),
       
'external_plugins' => [
           
'minitemplate' => '/MelisCore/js/minitemplate/plugin.min.js'
       
],
       
'melis_minitemplate' => [
           
/**
             * return templates with the given prefix only
             */
           
'prefix' => '',

           
/**
             * site id
             */
           
'site_id' => ''
       
],
       
'autoresize_on_init' => false,
       
'toolbar' => 'undo redo link unlink | forecolor backcolor minitemplate | code',
       
'setup' => 'melisTinyMCE.tinyMceActionEvent',
       
'init_instance_callback' => 'tinyMceCleaner'
   
);