2017 © Pedro PelĆ”ez
 

contao-module tinymce_plugin_builder

Plugin builder for tinyMCE rte under Contao

image

markocupic/tinymce_plugin_builder

Plugin builder for tinyMCE rte under Contao

  • Wednesday, January 25, 2017
  • by markocupic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Tinymce plugin builder

Dieses Plugin dient als Grundlage/Basis um TinyMCE mit wenig Aufwand mit zusätzlichen, selber geschriebenen Plugins nachzurüsten. Als Vorlage kann https://github.com/markocupic/tinymce_newslink dienen., (*1)

Plugin in der config.php konfigurieren

<?php
// system/modules/tinymce_mysuperplugin/config/config.php


// Add stylesheet
$GLOBALS['TL_CSS'][] = 'system/modules/tinymce_newslink/assets/css/newslink.css';

// Add a plugin to the tinymce editor
$GLOBALS['TINYMCE']['SETTINGS']['PLUGINS'][] = 'newslink';

// Add a button to the toolbar in tinymce editor
$GLOBALS['TINYMCE']['SETTINGS']['TOOLBAR'][] = 'newslink';

// Add a new config row to the tinymce.init method (string)
$GLOBALS['TINYMCE']['SETTINGS']['CONFIG_ROW']['test_string'] = "'This is a test string, and you have to quote it with a single quote.'";

// Add a new config row to the tinymce.init method (json_encoded array from a PHP class)
$GLOBALS['TINYMCE']['SETTINGS']['CONFIG_ROW']['newslink_news_data'] = json_encode(TinymceNewslink\TinymceNewslink::getContaoNewsArchivesAsJSON());

// Add a new config row to the tinymce.init method (use the loadLanguageFile-hook)
$GLOBALS['TL_HOOKS']['loadLanguageFile'][] = array('TinymceNewslink\TinymceNewslink', 'loadLanguageData');


The Versions

25/01 2017

dev-master

9999999-dev

Plugin builder for tinyMCE rte under Contao

  Sources   Download

LGPL-3.0+

The Requires

 

plugin tinymce contao builder

25/01 2017

1.0.0

1.0.0.0

Plugin builder for tinyMCE rte under Contao

  Sources   Download

LGPL-3.0+

The Requires

 

plugin tinymce contao builder