• Hi,

    I’ve created custom shortcodes which are available via WP text editor using filters `mce_external_plugins
    mce_buttons_2`

    These are visible in default WP text editor, but not available in text editor via elementor.
    Am I missing something?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter coolcoder

    (@coolcoder)

    Just noticed same behavior for button of plugin –Shortcoder

    Thread Starter coolcoder

    (@coolcoder)

    Hi,

    Should I forget custom shortcodes available via Text Editor while using elementor? From all tests I realized that it is general behavior of elementor’s text block.

    Very unfortunate that in the era of page builders, someone will need to copy shortcodes manually, when same are available with default WP Editor and created with no custom modification, just using default WP provisions.

    Please mention if this is in consideration for future updates.
    Thanks.

    Interested…

    Hi,

    +1
    I added last spring some css styles with a custom button in TinyMCE and it worked.
    But with last versions of Elementor, it doesn’t work anymore…

    Please do something or tell us how to make it!
    Thank you

    As far as I noticed elementor removes all the mce_external_plugins and the mce_buttons filters with 10 priority.

    private function get_wp_editor_config() {
      // Remove all TinyMCE plugins.
      remove_all_filters( 'mce_buttons', 10 );
      remove_all_filters( 'mce_external_plugins', 10 );

    I fixed it setting a 999 priority to those filters.

    add_filter( 'mce_buttons', 'add_the_table_button', 999 );
    add_filter( 'mce_external_plugins', 'add_the_table_plugin', 999 );

    I guess a 11 priority would work too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom TinyMCE rich editor buttons not available in text editor via Elementor’ is closed to new replies.