Error when using tinyMCE in my wordpress settings page

I tried using tinyMCE directly from the package included with:

<script src="//"></script>

And then I just set this in my jQuery file:

    selector: "textarea"

Now, for some reason that I can't understand, all my textareas are hidden (visibility:hidden) and nothing else is showing up. I am modifying the DOM in this file with jQuery but I tried to insert a non-modified textarea and still nothing shows up. Is there something with Wordpress that makes this error? I am writing this in the functions.php-file.


Or maybe you should simply use wp_editor() php function

Similar questions

How do I add the fullpage tinymce plugin to the standard tinymce editor in wordpress for a plugin?
I want to use the tinymce fullpage plugin normally included with a standardard tinymce install. to add the tinymce full page plugin i have tried adding the following: However upon inspection doing that makes it so that tinymce is looking for the tinymce fullpage plugin that does not exist naitive tinymce location it would expect ( /wp-includes/js/t...
Why tinyMCE.editors doesnt work on tinyMCE of wordpress
Above is my code, I created a custom post and a tinyMCE text editor inside a metabox. But why when execute alert(tinyMCE.editors[0].getContent()); line, it doesnt work and does not shows the content of the editors. The firebug shows the error of TypeError: tinyMCE.editors[0] is undefined
Load a TinyMCE editor inside a TinyMCE modal in wordpress
I'm using TinyMCE to open a modal. And inside that modal i would want to add an instance of tinyMCE. I'm opening the modal passing some objects. I followed this guide In the tinymce-dialog.html This actually creates an instance of TinyMce which is not working though probably the reason is an error TypeError: elm is undefined which points to what co...
tinyMCE is an object in WordPress but "tinyMCE.init is not a function"
I'm trying to add tinyMCE to a form field in WordPress. The form itself is generated by a plugin (JobRoller). The site already has a template and child templates that I was told I should not touch. My solution was to create a simple plugin that enqueues a JavaScript with both tinyMCE CDN and the code below. The code below is all the JavaScript I'm ...
Wordpress tinymce editor changes when I call tinymce.init
I am trying to set the content of a tinymce editor in a plugin and I can change the content but the appearance of the editor changes when I use this code I lose all the Wordpress plugin icons from the menu bar and it changes to just a stock editor. How can I set the content of the editor without changing the appearance?
Utilize TinyMCE hyperlink chooser outside of TinyMCE
Is it possible to use the "Insert/edit link" dialog box outside of TinyMCE? For example, if I wanted to add that dialog box to a generic button within a plugin settings form, is it possible to include just the portion of the TinyMCE that is required to make it work?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.