Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
So when I do this:
I get this:
Fatal error: Using $this when not in object context in C:\...\dataobject_manager\code\simple_tinymce_field\SimpleTinyMCEField.php on line 180
Any ideas? There was an initial promise of more docs for SimpleTinyMCEField, but I'm guessing you got caught up in creating more awesome and amazing things!
Just a note that using set_default_extra_options works. I'm guessing that the previous didn't work because it is meant to be used in the context of a created simpleTinyMCEField and not in the _config.php file. Am I right?
I've tried to customize the SimpleTinyMCEField with its function set_default_extra_options, but it didn't work..could you tell me how to manipulate the SimpleTinyMCEField?
My origianl code was:
Thanks in advance