Try
type: 'listbox',
values: [{text: 'small'}, {text: 'normal'}, {text: 'large'}]
For details: https://github.com/tinymce/tinymce/blob/master/js/tinymce/plugins/link/plugin.js
I met the same problem when I want to use select2 in the dialog. All plugins are using listbox. My guess is they always use listbox instead of selectbox. And the handler for selectbox is broken.
Related Posts:
- Add button to TinyMCE bar without creating a plugin
- How to include own css on wordpress tinymce editor?
- How to edit the actual paragraph dropdown in TinyMCE with custom text styles
- TinyMCE default link target to “_blank”
- TinyMCE style_select – Append Classes
- How To Add buttons to the toolbar which appears in TinyMce when you click over images
- Limiting allowed html elements/strip harmful scripts from editor
- Multiple Tinymce/wp_editor in WordPress >4.8
- How to remove buttons from the WP Editor on the edit post page in the admin area
- I’m using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box
- Qtranslate + Woocommerce (multiple tinymce) [closed]
- How to add custom ‘layout’ buttons to wordpress editor?
- Remove distraction free mode from teeny editor
- Still desperate about multiple TinyMCEs in widgets – is there any good solution to this yet?
- DOM reference to TinyMCE editor element (button)
- Customize TinyMCE Buttons
- How to apply filters if editing specific template
- Is there anything that Joomla or Drupal can do that can’t be done in WordPress? [closed]
- Custom maintenance page
- Any post install tips after installing WordPress 3.0.1?
- How to customize the default HTML for WordPress Attachments
- Customizing the Subject Field in WordPress’ Notification Emails?
- How to move wp-content (or uploads) outside of the WordPress directory
- How can I integrate pages written in something other than PHP?
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- Maintaining synced staging/production WP sites
- WordPress Multi Site Best Practice
- Sub posts and non unique post_name
- Custom field values in permalink
- Redirect to requested page after (custom) login
- Custom protected password page with ACF
- Page load requires a trailing “/” [closed]
- How to instantly delete posts/pages permanently?
- Custom Dashboard Home Screen Options
- dynamic external javascript generated using php
- Show Custom Taxonomy Slug(s)?
- What’s the proper way to use a custom table? [closed]
- How to retrieve the value stored in a multi-dimensional array and SUM the entries?
- Adding Pagination on a Custom Author Page
- Adding a Table to the wordpress database
- Integrate WordPress into existing website
- How can I use get_bloginfo(‘admin_email’) in a custom PHP file?
- how can I change the background color of all posts on my server?
- Turn off redirect to canonical domain (or host website on any hostname)
- CSS to remove “comments count” icon from main page [closed]
- What’s wrong with Customizing new user notification email by add_filter?
- Automatically Update Woocommerce Prices [closed]
- Publishing html directly from ftp to wordpress
- how to get the categories for a single product in a hierarchical way
- large chunks of text went missing
- How to change popular term checklist title when edit post?
- Get Date of custom field and use conditional logic
- Save & Publish disabled for two dimensional array Customizer
- How to prevent shortcode preview from breaking in tinymce editor?
- What requirements for ACF custom fields key and name properties?
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- How to store page visit counts?
- Load File (Function & Variable Value) from Child Theme
- Featured Image If Else Condition
- If the image variable is specified, show image, if not no code
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- I want to print a message in post ” After one month from publish date”
- How to query details of images in gallery that is attached to a post
- Is there another way to customize a parent template file besides adding the file to a child theme?
- Replacing words in WordPress or theme (not in content)
- WordPress Child Theme Stylesheet being loaded before Parent’s minified .css
- How to create custom search page
- Where to store reusable content that is not a page
- How to have multiple WordPress Menus
- Where to upload my new custom ShortCode in Separate .php file?
- wp_enqueue_script JS code runs too late (after user begins interacting)
- wp_insert_post custom taxonomy multiple Category not added
- Get custom text if in Category
- Conditional Logic on CF7 dropdown options
- Change admin_title of a plugin using code snippet/functions
- Can’t upload format files on media library
- Adding a custom field to a slug
- How to show Term ID beside Name Category with wp_dropdown_categories()
- How to create custom backend admin menu in different languages?
- WordPress Performance and bulk edits
- Delete page titles
- Send email notification when post type product is publish from pending status
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- WordPress Customizer: Check for value of CSS selector and replace it
- How to add custom Author Info Box to blog posts “only” and NOT custom post templates
- Bio comes up when the visitor clicks on a picture
- How to find and replace (or add) specific word in a specific category?
- Accountless password generation
- Creating a Treeview Listing of a Directory
- WooCommerce – Adding custom HTML to specific product pages
- How do I move my sites to a child theme without loosing customisation?
- How to create new page can get custom field other post in wordpress
- insert autofocus in a custom taxonomy form
- display my pages html
- customize footer widgets area
- Accessing + retrieving custom database in WordPress
- updated permalink structure on localhost does not work
- Word Press Theme Customiser and Child theme Function.php
- Security Issues with custom user role or changing core role capabilities?
- adding new html css to wordpress section from codepen [closed]