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

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/coding-the-javascript-part-of-a-tinymce-plugin-the-ide-cant-resolve-the-tinymce-variable-on-hold/">

Coding the Javascript part of a TinyMCE plugin: the IDE can't resolve the tinymce variable [on hold]</a>
0
, , , Revious 3 months 0 Answers 30 views 0

Leave an answer