Turns out you have to have a <p>
tag in the div to prevent that.
Related Posts:
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- Add self-closing shortcode button to TinyMCE in WP 4.6
- How to provide translations for a WordPress TinyMCE plugin?
- API to trigger prompt on leaving page
- Hook the Keydown Event in the TinyMCE Post Editor
- How can the tinyMCE dom be manipulated (offical API does not seem to work)?
- Utilize TinyMCE hyperlink chooser outside of TinyMCE
- Making a custom widget that includes a tinymce and works in Site Origin Page Builder
- Bridge WordPress Media API with custom tinyMCE plugin [closed]
- WYSIWYG editor in WP 3.2 plugin
- Show dialog box in TinyMCE plugin and use WordPress php functions in it
- the_editor() function
- TinyMCE 4.7.11 custom styles using styleselect – what does the ‘attributes’ argument do?
- Rich text editor settings persist throughout all rich text editors
- Asynchronously render shortcodes in TinyMCE visual editor
- Add a select option of shortcodes like dropdown in tinymce
- Open modal when user clicks on span in visual editor
- tinymce.get() returns error after ajax request
- TinyMCE editor turns white on Biographical info [closed]
- Inserting code to HTML view from a pop up initiated from visual view
- Translate MCE button text/tooltip in custom plugin
- Moving/dragging a metabox removes TinyMCE’s content
- Can I Hook Into the TinyMCE Insert/Edit Link Button to Use Shortlink For Post?
- How to close tinymce inline popup
- How to display TinyMCE HTML view?
- Multiple TinyMCE on button click is initialized and appended but why only last one is writeable?
- TinyMCE 4.7.11 – Enable hidden WordPress core plugins? (referencing a wp-includes from plugin.php)
- How to get values from Tinymce visual editor popup?
- get_option() is undefined in TinymceWindowManager
- Add Button to TinyMCE Custom Menu
- Issue with iframe in TinyMCE
- Why if i enqueue the tinymce script i get undefined error
- Update Option Stored in Multi-Dimensional Array
- check if Gutenberg is currently in use
- WordPress Plugin Development – Headers Already Sent Message
- Get page content using slug
- How to include wp-load.php from any location?
- Correct way to enqueue jquery-ui
- $wpdb->insert_id
- Remove profile picture option (and other things) from profile.php (in admin)
- How to disable plugin update notification for a specific plugin in Multisite
- Getting old term value with edited_{$taxonomy} | Hook
- Building a better media uploader for WordPress
- Problems with localization
- Calling clean_term_cache() fails when called in the same plugin that creates terms, succeeds when called separately?
- Singular name Plugin localization
- On plugin deactivation hide its shortcode
- Can I submit a plugin that follows the PSR-2 coding style guide?
- How to get current page id through the plugin
- How to restrict plugin’s sub-menu pages to admin/subscribers?
- Saving data from block editor to the database
- OOP Plugin and Menu – Call to undefined function register_setting()
- Will current_theme_supports return TRUE with a nonstandard add_theme_support?
- How to untrash a post only if it was not a draft?
- Display content from custom post without modifying the single template
- Calling is_single() outside the loop
- update woocommere total value on checkout based on selected payment method
- Loading WordPress Admin Environment
- how to add custom functionality after woocommerce place order button
- Problems with: manage_${post_type}_posts_columns
- Getting timestamp of activation plugin time
- Function: Add link to / inside div
- How can I rewrite a URL to pass requests to a custom method via AJAX? (I can’t use admin-ajax.php)
- WP Gutenberg Blocks – How to limit first/root blocks
- How do I update a field of a meta box?
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- How to Get Current Custom Post Type Associated Taxonomy Term
- Issue on Setting $icon_url Parameter on WP add_menu_page()
- Are there any official or unofficial guidelines for the styling of a widget?
- How to get error object returned by wp_create_user
- Logout after clicking URL link results in “headers already sent” error
- My WordPress Plugin code breaks customize.php viewpoint
- Make wordpress join default user metas with a column from another table while displaying the wp_users table on the users screen
- ajax working when function is on child theme but not in plugin page
- My plugin won’t create table in wordpress 3.5
- Remove Permalink Meta Box not working?
- Serial Number from custom table not appear in woocommerce_email_before_order_table action
- Modify custom block plugin without losing content
- How to replace the existing metatag using the backend to insure a thumbnail image gets fetched when we share on social media?
- When setting styles to an extended block that was saved as a pattern, it doesn’t remove the style that was there
- Sanitization and validation input fields – Settings API
- Warning: Illegal string offset ‘Andorra’ in … on line 106
- Different style for specific rows in custom list table using WP_List_Table
- get_comment_meta() for a filter hook in a plugin
- form does not generate $_POST request
- Callback function quicktags that uses variable in start tag
- Font Awesome stopped showing icons, shows &# text instead [closed]
- WordPress Plugin Tool Tip Helpers
- How can I add the Post ID to Class Name in Jquery?
- How to show metabox just in post.php in admin?
- $wpdb how can i save my postmeta table before querying it
- Can’t switch theme after activation
- plugin will not offer update even though a new version is available
- How do I replace title with my plugin?
- Enqueue Script in custom plugin before other
- How to remove a class [closed]
- How to display .ptm file in my WP site without JAVA
- Trouble Importing whatsapp-web.js in a WordPress Plugin Development
- ‘useSate’ error when using React on the frontend in custom block plugin