• Resolved Ismael Latorre

    (@miguelripoll)


    I am using your plugin with the Visual Editor (which, in turn, I customize with the TinyMCE Advanced plugin). Everything works fine. Only problem is the quicktag box appears alone underneath the main toolbar, occupying an entire row on its own, instead of appearing next to the other buttons in the main toolbar.

    Any way to make them all align together? Thanks for this great plugin.

    https://www.ads-software.com/plugins/addquicktag/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    The line 1 from the TinyMCE is addiferent filter.
    But you can deactivate the default and enhance for the first line, like the follow example.

    add_action( 'admin_init', 'fb_test_remove_actions' );
    	function fb_test_remove_actions() {
    
    		remove_filter(
    			'mce_buttons_2',
    			array( Add_Quicktag_2_TinyMce::get_object(), 'extend_editor_buttons' ),
    			10
    		);
    		add_filter(
    			'mce_buttons',
    			array( Add_Quicktag_2_TinyMce::get_object(), 'extend_editor_buttons' ), 10, 2 );
    	}

    Add this in a custom plugin and you will see the select field in line 1 of the tinymce.

Viewing 1 replies (of 1 total)
  • The topic ‘Quicktags position’ is closed to new replies.