Title: Adding Inline HTML Buttons?
Last modified: August 20, 2018

---

# Adding Inline HTML Buttons?

 *  Resolved [RadiantPunch](https://wordpress.org/support/users/radiantpunch/)
 * (@radiantpunch)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/)
 * Hello, I’ve just started reading some of the Gutenberg documentation and playing
   around with things. I’ve been working on a plugin that extends the TinyMCE editor
   on sites I make for clients. One of the things my plugin does is add buttons 
   for addition inline HTML formats like cite, samp, kbd, and so on.
 * There’s a lot of good documentation on extending Gutenberg with custom blocks,
   but I can’t seem to find anything on creating custom buttons for inline HTML 
   formats, or removing/customizing existing formats. What if I want to rename “
   Bold” or “Italic” as “Strong” and “Emphasis” and change the icons to coincide
   with that? Is there documentation that I’m missing? Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Corey McKrill](https://wordpress.org/support/users/coreymckrill/)
 * (@coreymckrill)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/#post-10611336)
 * Hi [@radiantpunch](https://wordpress.org/support/users/radiantpunch/),
 * That is an excellent question, and kudos to you for diving into Gutenberg extensibility!
   Where have you looked so far for documentation?
 * I didn’t know the answer to this off the top of my head, so I did a little digging,
   and I found something that might get you a bit closer to what you’re looking 
   for:
 * [https://github.com/WordPress/gutenberg/blob/master/docs/blocks/block-controls-toolbars-and-inspector.md](https://github.com/WordPress/gutenberg/blob/master/docs/blocks/block-controls-toolbars-and-inspector.md)
 * There’s actually a lot of documentation like this right in the Gutenberg GitHub
   repo, though sometimes you have to dig pretty deep to find it.
 *  Thread Starter [RadiantPunch](https://wordpress.org/support/users/radiantpunch/)
 * (@radiantpunch)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/#post-10611369)
 * Hi Corey,
 * Thanks so much for replying. I’ve been looking at the documentation here: [https://wordpress.org/gutenberg/handbook/](https://wordpress.org/gutenberg/handbook/)
 * The page you linked does give a little bit of insight, but it doesn’t describe
   how to really register or create inline formats. I think this is really important.
   There’s a lot about Gutenberg’s ability to be adapted with custom blocks that
   I like, but I think it should be just as easy to create an inline HTML element
   that you can then assign to certain kinds of blocks. If that capability doesn’t
   exist, I would be happy to submit a feature request for it.
 *  [Corey McKrill](https://wordpress.org/support/users/coreymckrill/)
 * (@coreymckrill)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/#post-10611647)
 * [@radiantpunch](https://wordpress.org/support/users/radiantpunch/)
 * Ok, I did a little more research, and it turns out that the API for adding/modifying
   formatting buttons is still a work in progress. Here’s a GitHub ticket that you
   may want to follow that outlines the approach pretty well, and links out to some
   related issues:
 * [https://github.com/WordPress/gutenberg/pull/6642](https://github.com/WordPress/gutenberg/pull/6642)
 * For _removing_ any of the default formatting buttons, here’s a pretty good tutorial:
 * [https://modularwp.com/disable-gutenberg-toolbar-buttons/](https://modularwp.com/disable-gutenberg-toolbar-buttons/)
 *  Thread Starter [RadiantPunch](https://wordpress.org/support/users/radiantpunch/)
 * (@radiantpunch)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/#post-10655901)
 * Hi Corey,
 * Thanks so much for looking into this. I will bookmark the link you shared and
   follow the pull request on github to see how this progresses.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding Inline HTML Buttons?’ is closed to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

## Tags

 * [customization](https://wordpress.org/support/topic-tag/customization/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * 4 replies
 * 2 participants
 * Last reply from: [RadiantPunch](https://wordpress.org/support/users/radiantpunch/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/adding-inline-html-buttons/#post-10655901)
 * Status: resolved