Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

tinymce

Creating a wp_editor instance with custom tinyMCE buttons

August 2, 2022August 1, 2022 by Magenaut

Is there a way to define wp_editor() with custom tinyMCE buttons?

Categories Q&A, Wordpress Tags tinymce, wp-editor Leave a comment

How to add custom CSS (theme option) to TinyMCE?

August 2, 2022August 1, 2022 by Magenaut

I’m trying to add custom CSS (set via theme options) to the TinyMCE visual editor in WordPress. On the front end, the theme generates this CSS and outputs it on the wp_head hook. The problem I’m running into is being able to add that CSS output to the editor.

Categories Q&A, Wordpress Tags tinymce Leave a comment

data-accordion removed in Visual Editor

August 2, 2022August 1, 2022 by Magenaut

Using Foundation 5’s accordion, and the data-accordion html data attribute in:

Categories Q&A, Wordpress Tags html-editor, tinymce, wysiwyg Leave a comment

Removing buttons from the editor

August 1, 2022July 31, 2022 by Magenaut

I have this nice little function to remove buttons from the tinyMCE editor in WordPress, so far I’ve been able to remove most of the ones I need to.

Categories Q&A, Wordpress Tags tinymce Leave a comment

Use rich text editor in comments?

August 1, 2022July 31, 2022 by Magenaut

I’ve been trying to get the TinyMCE editor working in the comments field but I’ve been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are not saved in rich text.

Categories Q&A, Wordpress Tags comments, tinymce Leave a comment

Adding TinyMCE custom buttons when using teeny_mce_before_init

August 3, 2022July 31, 2022 by Magenaut

I’m using the following code to produce a different TinyMCE bar to the default WordPress setup:

Categories Q&A, Wordpress Tags buttons, tinymce Leave a comment

Using post ID in custom tinyMCE button

August 1, 2022July 31, 2022 by Magenaut

I’m building a simple plugin and need to be able to access current post id when user clicks custom tinyMCE button (inside its onclick function). How should I get current post ID to do that.

Categories Q&A, Wordpress Tags plugin-tinymce, tinymce Leave a comment

Can you add the visual editor to the description field for custom taxonomies?

August 1, 2022July 31, 2022 by Magenaut

Can you add the visual editor to the description field for custom taxonomies? It would be nice to have this option available when you edit an entry for a taxonomy be it core or custom.

Categories Q&A, Wordpress Tags custom-taxonomy, taxonomy, tinymce, visual-editor Leave a comment

How to use tinyMCE for user “biographical info”?

August 1, 2022July 31, 2022 by Magenaut

I would like to provide our WP users (authors) with a tinyMCE editor instead of standard textarea for their “Biographical Info” on the Profile page.

Categories Q&A, Wordpress Tags profiles, tinymce Leave a comment

How i can i add a split button or list box to the WordPress TinyMCE instance

August 1, 2022July 31, 2022 by Magenaut

I have added a custom button to the tinymce to insert my shortcodes, but I have so many and I want to make a splitbutton instead and I can’t figure how. Anyone can help. Here’s the code that I’ve used to create the normal button:

Categories Q&A, Wordpress Tags buttons, plugin-tinymce, split, tinymce Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress