Found: the settings have to have quicktags defined:
var settings = {
tinymce: {toolbar1:"bold,italic,bullist,link"},
quicktags: {
"buttons": "strong,em,link,ul,li,code"
}
};
wp.editor.initialize( contentID, settings);
Related Posts:
- disable tags on wordpress text editor
- Add Item to Custom TinyMCE Menu
- Strange gibberish JavaScript in Editor – site hacked?
- Close TinyMCE plugin window on click away
- Trouble adding JavaScript in visual editor (Sharpspring embed code)
- How can I get the standard WP-Editor through Javascript?
- Make TinyMCE checkbox that returns a value instead of true/false
- wp.editor.initialize does nothing
- Button insert link on front wp_editor not working
- JavaScript && operator in visual editor
- Media library not working with wp_editor() on the front end
- Popup box when Clicking on Insert into post button in wordpress
- wordpress 4.4 upgrade visual editor bullets select for not selected elements
- How to reference TinyMCE body in my script
- How to stop javascript code being broken when going into visual editor
- How to use WP switchEditors.switchto(this) JS function in your own script?
- VisualComposer/WPBakery Page Editor: Is any JS event triggered after the Edition pop-in is shown?
- Dynamically write in editor with Javascript
- None of the JavaScript works when using wp_editor
- Find object by id in an array of JavaScript objects
- JavaScript TypeError: Cannot read property ‘style’ of null
- Number converted in 1e+30
- XML Parsing Error: no root element found Location in Console FF
- TypeError: app.use() requires middleware functions
- Obtain form input fields using jQuery?
- Npm install cannot find module ‘semver’
- How to download a file with Node.js (without using third-party libraries)?
- jQuery make global variable
- Load Image from javascript
- Most efficient method to groupby on an array of objects
- Don’t make functions within a loop [duplicate]
- Data column(s) for axis #0 cannot be of type string in google chart dashboard [duplicate]
- JavaScript – Count Number of Visitor for Website
- Jquery Value match Regex
- replace space with dash JavaScript
- Uncaught SyntaxError: Unexpected token var
- window.location.href doesn’t redirect
- DeprecationWarning: Calling an asynchronous function without callback is deprecated. – how to find where the “function:” is?
- Get loading state of wp data selector
- Adding a text element in between title and blocks container
- a child theme not de-registering a patent javascript file
- Accessing theme customizer farbtastic object instances
- Add custom classes for blocks in editor based on custom attributes
- Customizer JS API: Defining active_callback for a section
- Don’t allow JavaScript in the content area
- How to locate a Javascript? It is there in HTML but not in any file [closed]
- How to use Readmore.js? [closed]
- Trigger wp-embed via JavaScript to refresh iframe preview?
- Trying to turn the Edit function into a class to be able to use React lifecycle methods
- Gutenberg richtext block vaildation failed
- Custom Gutenberg-Block esnext pass variables
- Malware gdjfgjfgj235f [closed]
- Return ‘X-WP-Total’ from headers in response
- Javascript only works if browser Developer Tools panel is open
- How to read inline-CSS from Gutenberg block?
- Javascript asset not enqueuing with the rest
- WP adds long version query strings to CSS and JS files
- javascript not loading
- Using javascript on my site to create nested tabs
- CDATA removing new line in script tag in wordpress
- How does WP determine the difference between a post and a page url
- Load content dynamically & resize event
- creating a static HTML/JS/PHP page
- Newest version of javascript
- Get style and script file versions and use them while writing a cache manifest file
- wp_enqueue_script does not recognize my js file?
- ‘ajaxurl’ is undefined — wp-includes/js/wp-lists.js
- What to include to use jQuery UI Auto Complete
- create timestamp links to jump to specific times on rumble videos
- Taxonomy Template displaying different color post tag js
- Save in localstorage and db and show it later
- How to run Javascript popup modal in a loop?
- Change (replace) tags to tags
- Defer Parsing of “createjs.min.js” not working
- script not working anymore after saving widget settings
- Console Messages: A cookie associated with a cross-site resource at
- Is there an option to execute javascript file only on plugin deactivation
- Why doesn’t my JS script load?
- Javascript Injection on my WordPress Site
- WordPress Gutenberg Ajax request
- Loading two versions of same JS libary
- Error handling for wpdb error – displaying an error message to the user
- Load Particles.js into WordPress Website
- Proper way of minifiying java script files in wordpress theme
- Hide show java script code not working in my custome post templete
- Show sections based on a control in WordPress Customizer using JS API
- Adding javascript script to header via functions.php
- how to refresh page after user logout with ‘wp_logout_url’?
- load-scripts.php loads incorrect file names
- Enqueue concatinated JS file in WordPress
- JS enqueue path (localhost)
- Load and execute javascript from body
- Why can’t I load JS script in a plugin?
- Page template dynamic links based on browser size
- WordPress Theme – jQuery JavaScript Library Issue
- Script loaders vs wp_enqueue_script
- Block pattern conflict with custom block
- Disable html in custom post types
- Don’t understand how to link Javascript files in WordPress
- Securing Contact Form 7 [closed]