InputfieldTinyMCE::addPlugin()

Add an external plugin .js file

Usage

$inputfieldTinyMCE->addPlugin(string $file);

Arguments

NameType(s)Description
$filestring

File must be .js file relative to PW installation root, i.e. /site/templates/mce/myplugin.js

Exceptions

Method can throw exceptions on error:

  • WireException


InputfieldTinyMCE methods and properties

API reference based on ProcessWire core version 3.0.251