Currently you’re telling it to target all textareas on the page so you need to change
$init['mode'] = 'textareas';
to $init['mode'] = 'specific_textareas'
or $init['mode'] = 'exact'
and then name the textarea by id where you have $init['elements'] = 'category_description,description';
defined.
To read more about tinyMCE options go to http://tinymce.moxiecode.com/wiki.php/Configuration and the mode configuration description is here http://tinymce.moxiecode.com/wiki.php/Configuration:mode
Related Posts:
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- Where the Nickname is being used in WordPress
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Is their any way to Extend WPDB class and Overwrite the Default Query Function
- How do I only load a plugin js on it’s settings pages?
- Where should my plugin POST to?
- WordPress widget / plugin….fields not appearing in my widget
- How to list the Hooks and order of execution in current loading page? [duplicate]
- How to make my plugin theme-independent?
- Updating post meta for custom post types
- What is $tab in `install_plugins_{$tab}` hook?
- How do I use WordPress PHP functions in my Javascript code?
- Get all options saved by another plugin
- How to bulk send emails
- How to handle the Plugin Version on Update using Tortoise SVN and the worpdress.org Plugin Repository?
- How to get the permalink of a page when loading my plugin
- Ajax gives 400 error
- The Point of Using apply_filters()
- Is it possible to enqueue CSS files from plugin before theme’s CSS files?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Serialize data for wp options
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- React JSX in WordPress Plugin Development
- My plugin wants to update another plugin
- Plugin Options Not Saving to Database in WP 4.5
- Using SVN to upload plugin created with gutenberg blocks
- Force quit running background job
- Custom plugin init action causing general slowness
- Check if plugin exists/active “class_exists()” does not work on plugin territory
- How to get the permanent link in a plugin?
- Why is the ‘Gutenberg’ Plugin generating an ‘Inconsistent File Permissions’ error when other Plugins, with the same permissions, do not?
- WordPress front end AJAX. Return 0 :?
- breadcrumb need to show all pages and subpages
- Widget’s container?
- custom uploader in the admin area
- Best/Correct way to add an option to a category
- WordPress 5.4 – How to prevent to enter only certain values in custom field
- I receive taxonomy id
- DB Query not working in Plugin
- Error with get_price (and others) in self-written plugin to show price
- sending different email notification while registration based on user role
- WordPress Widget Not Saving Instance
- Issue with wp_handle_upload
- How to get a notification when the plugin is installed?
- Different registration form for different roles
- WordPress Post HTML after Posting
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Settings options not showing up on Sub Menu page in WordPress plugin
- My plugin does not install correctly if a previous version is still installed
- How do I remove all traces of a plugin?
- unregister a sidebar widget
- Custom Meta box change size
- Could add_query_arg() redirect user to external site?
- How to solve conflict with scripts?
- wp_insert_post not inserting post from XML
- How can replace this url
- The Build menu theme is frozen with the wordpress theme
- Access “wp site health info” data from plugin
- WordPress Frontend Page using Plugin
- How to overwrite a plugin?
- SimpleXML is not working with xml response from external api
- How to prevent redoing get_posts queries and make results available to other scripts?
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- Change Woo Custom Endpoint Titles from a Plugin
- Custom wp_list_tables redirect on specfic page
- Hook to display element as product on category page
- Missing files in enqueue actions causes WordPress to reload
- I can’t use WP_Query
- Adding/ Removing actions for plugins
- Get input form data posted by users
- WP Plugin: Print javascript in header
- wp_verify_nonce fails always
- Custom Plugin: Point to `template_directory`
- Adding list of Indexes in wordpress document
- WP internationalization not loaded
- Plugin options not appearing on options page using tabbed navigation
- Adding custom cron_schedule prior to wp_schedule_event
- Create plugin with form in post and submit it to specific form
- Storing values in Post Meta vs new tables
- Widget redirecting to home page
- Capturing POST data
- Add custom fields in the new and edit the site forms without touching the WP core
- Extend WordPress REST API with Scheme Pro Plugin
- How to submit the custom form data in database in WordPress without plugin?
- map urls to plugins
- I am using multi image metabox plugin but I did get how to display the images in templete?
- Embed php code in custom field of a plugin [closed]
- How can I properly sanitize the update_option in WordPress?
- Why is my menu page not being displayed?
- manage_{taxonomy}_custom_column not working
- Suitable hook when creating, updating and deleting posts programmatically
- How to be Variables and options must be escaped when echo’d?
- How to override plugin function in code snippets WordPress
- How can I gather forums posted by visitors from different sites in one place? [duplicate]
- How to make content as required in custom post type?
- How to create a “Most Popular” & “Latest” TAB in WordPress
- is_user_logged_in() undefined at shutdown in plugin context
- What are Seeds? [closed]
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode