You are here

function tinymce_wysiwyg_version in TinyMCE 7

Detect editor version.

Parameters

$editor: An array containing editor properties as returned from hook_editor().

Return value

The installed editor version.

1 string reference to 'tinymce_wysiwyg_version'
tinymce_tinymce_extended_editor in includes/tinymce_extended.inc
Plugin implementation of hook_editor().

File

includes/tinymce_extended.inc, line 57
Editor integration functions for TinyMCE.

Code

function tinymce_wysiwyg_version($editor) {
  return '4.0';
}