ok you need to remove the wrap div of editor like :
$("#btn-hide-editor").click(function() {
$("#wp-my-editor-wrap").css("display", "none");
});
wrap div id Consists of wp-[your-id]-wrap
Related Posts:
- How to load wp_editor via AJAX
- White text on white background in TinyMCE when wp_editor is called in WP 3.9
- How to edit content before post update
- accessing wp.media api from a tinymce plugin
- How to load wp_editor via AJAX
- Using TinyMCE in plugin?
- How to disable/enable PHP plugin functionality based on a TinyMCE toggle-button
- How to add a shortcode button to the TinyMCE editor?
- How to include code only on specific pages?
- How to Add WYSIWYG Editor (tinyMCE) to plugin options page compatible with WordPress 3.0 and up?
- force enqueue script to be first in order of prominence
- Modifying a JS file with data from plugin settings
- TinyMCE Advanced newline problem
- How to call plugin path in JS?
- How do I sanitize a javascript text?
- How can a Firebase user registration and login be integrated into a WordPress site?
- How do I make my wordpress page more friendly for mobile viewers?
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- How can I make content disappear when a user logs in?
- Why is the unrendered widget number `__i__` showing up in the JavaScript but not in the HTML?
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- ‘Lazy loading’ list of posts with pagination
- How to Reload the Dashboard After Clicking Update in Quick-Edit?
- Check javascript file Proper way in functions.php
- How to include admin-ajax when loading external javascript
- Adding rich text editor to my plugin
- What’s the best plugin for allowing javascript in a post or page? [closed]
- Is it possible to filter the wp_footer() scripts, read the content, and insert them inline?
- Prevent CSS/JS loading when plugin is not used
- Disable / Deregister all JS from all plugins
- How to create popup same as wordpress popup feature
- Passing RichText attributes to function onChange
- Gutenberg List Extension Block
- JQuery not working in my plugin [closed]
- prettyPhoto media loading very slowly in Chrome
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Using custom JS plugins with WordPress?
- Override Javascript in a Plugin?
- How to disable specific plugin in mobile version?
- Updating the Drag-To-Share eXtended share URLs?
- Change upload folder for a CPT
- How to replace wordpress default text editor (TinyMCE) with a custom one.
- add input in custom javascript from WordPress pages/posts
- Redux Framework: Page freezes on typing in Editor
- Hook into existing tinyMCE button
- Redirect to another page using contact form 7? [closed]
- JavaScript in a PHP plugin
- How do I add some javascript validation to the admin interface form’s onsubmit?
- MediaElement.js works on one site but not the other?
- How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]
- How use wp media upload liberary in react components?
- How to use custom Javascript code inside a plugin?
- JQuery needs to be defined in , but Gravity Forms is defining it in the
- Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?
- Executing Javascript in Plugin
- How to disable tinyMCE button added by a plugin?
- What’s the default setting for including a in a post
- Code for unique user visit count on every page WordPress
- Set Button in PluginDocumentSettingPanel Content (WordPress Gutenberg)
- How to override Plugin javascript function : $(‘body’).on(‘change’,’.class’)
- login form should redirect to register page for in 1st login next time it should redirected to home page
- Fixed: Console.log twice in the edit function
- Javascript embedded disappears for editors
- How to fetch WordPress database values in JavaScript widget
- Possible way of having multiple Gutenberg instances for a page?
- Trouble with AJAX using GET
- Javascript not getting injected into page
- Why does my custom plugin only function correctly once per page?
- How can I create a secure file download in WordPress?
- front end editor creation for Restropress plug in – displaying information from a WP admin area, on a different URL
- WordPress site hamburger menu toggle not working
- How to get Angular app working in WordPress plugin?
- Custom Field used to allow a Free Story; no longer works
- Create a form and have custom menu display based on user answers?
- Enabling plugin on specific pages and subpages
- how to send two forms with one click (script ninjaforms id)
- How to print shortcode with js in visual composer?
- Link in navigation menu send user to different page if mobile?
- TinyMCE how to add css when inputing a text
- can’t use span or icon tags on when editing visual composer element
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- Extending the “Add Media”-Dialog … how do I finally insert something to the Post?
- Creating custom URL for async content
- how to enable tinymce custom buttons in meta box?
- Filter html of WordPress editor in visual mode only
- Need to hide an element depending on date and post category
- How do I convince this button to do something when it is clicked?
- contact 7 plugin stops some pages from working properly
- Can’t insert files in other inputs
- Is it possible to run javascript on plugin deactivated?
- How do I output user_registered time in my correct timezone?
- Ajax in Plugins: returns the whole page
- How to tweak a plugin without preventing it from updating
- How can I replace the built in WordPress editor?
- Defer parsing of JavaScript [duplicate]
- How do I put a word-press blog into my static site without installing wordpress on server?
- how to embed a crop feature for cropping images uploaded by the user
- Beginner question: Accessing js script in plugin
- Select posts from list and add them in a new list
- Sudden ERR_HTTP2_PROTOCOL_ERROR on every JS and CSS files loads