SproutCMS

This is the code documentation for the SproutCMS project

class TinyMCE4RichText

Interface the display of a richtext field

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends TinyMCE4RichText {
    
    /**
    * Shows a richtext field. Should output content directly
    **/
    protected function drawInternal (string $field_name, string $content, int $width, int $height, string $config_group) {
        // Method code goes here
    }
    
    /**
    * Loads the required TinyMCE JS library
    **/
    public function needs () {
        // Method code goes here
    }
    
}
?>