Coding the Javascript part of a TinyMCE plugin: the IDE can’t resolve the tinymce variable [on hold]

Question

I’ve copied a very basic plugin for WordPress which adds a button to TinyMCE.

The code is correct and works. But while I’m coding (in PHPStorm), the IDE can’t resolve the javascript objects. How can I configure PHPStorm (or a generic IDE) to see the code of TinyMCE included in WordPress?

enter image description here

0
, , , Revious 2 years 2019-11-04T08:48:44-05:00 0 Answers 80 views 0

Leave an answer

Browse
Browse