Seems the question was asked at community.tinymce.com and the answer is here:
https://community.tinymce.com/communityQuestion?id=90661000000IiyjAAC
You can’t make the style you’ve defined remove any previous classes, but what you can do is ‘apply’ the style again by selecting it from the dropdown list and it will be removed – i.e. the class will be removed from the tag. You can then choose a different style from the drop-down list and the class relevant to that style will be added to the tag.
Related Posts:
- “options.php” not found
- How to add next height number in Order Attributes inside the Add new page. [duplicate]
- Setcookie not setting cookies anywhere except admin
- Adding fields to the “Add New User” screen in the dashboard
- Issues with title-tag and document_title_parts
- Is it ok to use a function to output the text domain name in a wordpress theme
- Displaying the number of updates available in the Admin area
- Display random categories on the front page (Finding and Editing Theme Functions)
- What’s the difference between admin_url() and get_admin_url() functions?
- How to influence the information displayed on widget inside wp-admin
- How to get woocommerce inventory status [closed]
- How to override admin-bar style
- How to use get_template_directory_uri() to load an image that is in a sub-folder of my theme?
- How do I create a new WP admin color scheme?
- AJAX handler throws 400 (Bad request) – why?
- wp-admin page is blank
- Show/hide Widgets in Dashboard Based on Current Advanced Custom Fields Option
- Return only top-level navigation items from a menu using wp_get_nav_menu_items
- Organize functions.php
- How to override functions.php in child theme?
- Overriding core functions in child theme
- Functions.php Problem
- Wp admin – Set default value to 999 in comments
- ACF not showing
- Javascript function not working when placed in Text Block
- How to customize the_archive_title()? Cannot figure out how to change the value it produces [duplicate]
- WordPress admin-ajax.php
- Change the “Default Avatar” admin option via functions.php
- Remove “Published On” inside wp-admin
- Where do i create my own function in wp-admin
- How to remove comment count column in Posts inside the admin dashboard?
- What is the text that appears beside the page titles in the list of pages in the WP admin?
- Control the srcset much more (not all sizes in it each time)
- Check if the image size is available and if not use ‘full’ image size
- Way to store featured image width and height in two separate variables?
- Remove Custuomize Sections
- Can we create our own theme’s function.php?
- Define PHP variable from a seperate API if statement
- Excerpt for pages not showing
- get_pages() Returns Only One Item
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Sortable column (by numbers) in admin users
- Does size of a theme’s functions.php file matter?
- Functions php shortcode for displaying main menu with no child items
- get_next_posts_link() returns no result despite available posts
- Nav menus all outputting the same links
- PHP 7.1 | Warning: A non-numeric value encountered in
- error at login page in wordpress
- How to insert class in each list of categories?
- I can’t add CSS with functions.php
- Getting the teaser text without overriding global variables
- Combine two active_callbacks into one on theme customizer
- Update to functions.php not showing in dashboard
- WordPress wraps span tags into p tags
- WP Customizer API loaded into functions.php
- Custom styles in Tiny MCE with an external CSS file
- Add element to widgetpage
- call_user_func_array() expects parameter 1 to be a valid callback, function
- why can’t i add front.css to my frontpage.php
- Best way to disable sidebars on posts (only)?
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- Is this an acceptable practice for WordPress theme development?
- What is the correct way to include my new functions and scripts in WordPress?
- wp_nav_menu work in functions.php but not in the theme
- Rewrite Question Mark in Post Template with URL Parameter for clean URLs
- contact form in template with jquery,validate and ajax
- Why a SlideShow (made using JQuery FlexSlider) can’t work if I load it form functions.php but work if I load it from my footer.php file? [closed]
- Why I can’t load my JavaScripts using an hook inside my functions.php file?
- How to change a specific admin label
- How to change a meta value (of a published post) after X days.?
- Woocommerce Variable Product Dropdown for Custom Shop Template
- How to fix Function create_function() is deprecated in / themes
- Block all plug-ins from initiating redirection upon activation?
- How to add custom metakey to shop_order page’s searching function?
- Exclude specific post from query
- Advanced method to control cache of enqueued style/script
- WordPress wp_dequeue_script remove all other scripts
- Can I use ‘Featured Image’ as a hero image and a thumbnail?
- Is_Page doesnt detect my page
- Test CDN link from function.php or wp_enqueue_script/style?
- Unable to login after registration
- How to customize archive widget only for cpt?
- wp_title() return random number
- Why does echo on functions.php not yield result in source code?
- Insert Modal on user first login
- How to offset main query without affecting other queries and backend
- Classic TinyMCE messing up only Contributor’s HTML
- Add meta data in head from theme
- what is `get_section()` and how to use it?
- WP Enqueue Script Error
- DISABLE wordpress upgrade page
- Remove External Links from WordPress posts Using add_filter() in Theme functions.php
- How to retrieve image IDs from shortcode content?
- HowTo: Add wrapper to columns shortcode?
- How to create admin ajax function for my contact form
- Class::$template_dir_path=get_template_directory();
- admin-ajax.php & my wp-admin folder url showing in header
- TinyMCE Multiple Custom Classes Selections
- How to disable site title and description when custom header is uploaded on the customizer?
- wordpress not calling peliegro functions.php?