This was way simpler than I thought it was – even on post.php, you need to run wp_enqueue_editor() before using wp.editor in JavaScript. I had assumed that I wouldn’t need to do that, because an editor was already loaded.
Related Posts:
- How can I get the standard WP-Editor through Javascript?
- Make TinyMCE checkbox that returns a value instead of true/false
- Custom wp.editor.initialize settings ignored
- Button insert link on front wp_editor not working
- Media library not working with wp_editor() on the front end
- How to reference TinyMCE body in my script
- disable tags on wordpress text editor
- None of the JavaScript works when using wp_editor
- Cannot set property ‘innerHTML’ of null
- How to replace innerHTML of a div using jQuery?
- Cannot read property ‘addEventListener’ of null
- TypeError: Converting circular structure to JSON in nodejs
- Getting a UnhandledPromiseRejectionWarning when testing using mocha/chai
- Getting Error “Form submission canceled because the form is not connected”
- Heroku: “No default language could be detected for this app” error thrown for node app
- ActiveX – Automation Server Can’t Create Object
- How to loop through an array containing objects and access their properties
- React – TypeError: Cannot read property ‘props’ of undefined
- How to open a local disk file with JavaScript?
- Remove all child elements of a DOM node in JavaScript
- Why Is `Export Default Const` invalid?
- Why is process.env.NODE_ENV undefined?
- Better way to sum a property value in an array
- Javascript require() function giving ReferenceError: require is not defined
- jQuery AJAX cross domain
- How to remove item from array by value?
- SecurityError: Blocked a frame with origin from accessing a cross-origin frame
- React Error: Target Container is not a DOM Element
- Google Conversions Not Working – Script Won’t Load
- TypeError: Cannot read property ‘get’ of undefined on AngularJS
- How to remove text from a string?
- Convert character to ASCII code in JavaScript
- Disable same origin policy in Chrome
- How do I remove a key from a JavaScript object?
- Is JavaScript supported in an email message?
- Basic Ajax send/receive with node.js
- How do I check whether an array contains a string in TypeScript?
- alert a variable value
- How to check a radio button with jQuery?
- Get current URL with jQuery?
- How to get JSON from URL in JavaScript?
- How do you put an image file in a json object?
- How can I add a class to a DOM element in JavaScript?
- Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode
- How to use jQuery in chrome extension?
- How do I use this JavaScript variable in HTML?
- How to check if a variable is not null?
- How to close current tab in a browser window?
- npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\Nuwanst\package.json’
- How to change value of object which is inside an array using JavaScript or jQuery?
- How to detect pressing Enter on keyboard using jQuery?
- How to display raw JSON data on a HTML page
- Sorting object property by values
- How to make an HTML back link?
- How to fix getImageData() error The canvas has been tainted by cross-origin data?
- Moment Js UTC to Local Time
- Get the size of the screen, current web page and browser window
- How to reload/refresh jQuery dataTable?
- How to enable a disabled checkbox dynamically?
- “Cross origin requests are only supported for HTTP.” error when loading a local file
- What is ‘xmlhttp.setRequestHeader();’ and in which situations is it used?
- Write / add data in JSON file using Node.js
- How do I concatenate a string with a variable?
- setTimeout callback argument
- What does wp-embed.min.js do in WordPress 4.4?
- Gutenberg – remove / add blocks with custom script
- conditional layout based on if Innerblocks is not empty
- Gutenberg extend blocks add new class name
- How do I add custom attributes to javascript tags in WordPress?
- Min And Max Date With Date Format In Elementor Form Not Working
- Strange gibberish JavaScript in Editor – site hacked?
- wp_enqueue_script & constants?
- Enqueue script if screen is greater than 500
- window.send_to_editor throws unterminated string literal error when adding image with multi line description
- Gutenberg get core data – search
- How to load JS for specific screen size using wp_enqueue_script?
- I am trying to add current logged in user to my zoho chat
- Video script issue, JavaScript attribute remains ‘undefined’
- Why does a on Comment edit page submit the page?
- Conditional save return on Gutenberg Block
- Can I alter the block editor’s paste text behavior?
- Headless wp with react. How to handle routes?
- Where to paste Google Map Snippet / JavaScript / CSS for WordPress integration
- Issues trying to get an element by id
- TinyMCE Javascript URL Question
- Setting Variable Path to Template Directory inside Script
- Dynamically add Js
- how to prevent added meta box from being injected with style=”position: fixed; top: 56px;” at scroll down
- Change background video when scrolling reaches a certain ID
- Contact Form 7 Conditional redirect
- How do i load javascript on a specific custom post template via functions.php?
- How to load WP_Editor JS files manually (with AJAX)?
- Dynamically changing logo on scroll function [closed]
- Can’t change javascript files
- Remove WordPress default registration client side validation?
- Live Time on WP showing weirdly [closed]
- Google Map JavaScript error after migrating
- Table block variation with header section activated
- How can I look at/edit what’s being sent to post.php when I hit the publish/update button?
- Jest Unit tests for High order component containing Block Editor