How to “modify” MediaPlaceholder / a React component?

Pardon the slightly naive question, but I’m still working on my first block, and am new to both Gutenberg and React. For lots of reasons ([hopefully] simplicity, reusability, extensibility, etc…), I’m trying to use existing stuff wherever possible. In this particular case, I’m trying to use MediaPlaceholder, but I need to make a couple of modifications:

  • I want to specify the directory that’s used, both for "upload" and for "media library"
  • I want to change the link text for "Media Library" to something else
  • I want to add a fourth option (beyond "Upload", "Media Library", and "Insert from URL")

I don’t want to do the above everywhere that MediaPlaceholder is called; only in my new plugin’s block.

The doc’s have a hook for a filter to "replace or extend" it, but I can’t find any examples of someone doing this; and, based on similar filters in other parts of the block editor, it seems like it’s mostly for "extend", and "replace" would be a PITA. Another possibility is to set the disableMediaButtons prop, and add a child with my own buttons — but that seems like it would involve a ton of repetitive code. I also looked at React’s concept of "composition", which might be what I need, but if it is, I need a much better tutorial.

Am I thinking about this the right way? If I want a "placeholder" that lets someone upload files to a specific location, or point to a URL, or do something else (the specific something else is schedule a cron job, but I don’t think that detail matters), am I best off starting with MediaPlaceholder? And, if so, what’s the Right Way to go about modifying it to do this?

Does the material component of Booming blade need to the same one used in the attack?

Does the spell specify that the material component need be the same as the one used in the attack?

As part of recent errata to the green-flame blade and booming blade cantrips, their material components have been amended to "a melee weapon worth at least 1 sp" (Sword Coast Adventurer’s Guide, 142).

If not then can you use a separate sword for the component?

Does an artificer require two hands to cast spells with a costly material component?

An artificer must use an appropriate spellcasting focus when casting artificer spells. And they must use costly material components when applicable. Neither can replace the other.

But can they handle their focus and costly material components with the same hand? I know of spells that contain more than one material component, such as Simulacrum involving both snow and powdered rubies. I am not sure whether that applies when there is both a focus and a material component in use.

Does an artificer require two hands to cast spells with a costly material component?

Can an artificer cast spells using a single component from a set of artisan’s tools?

Under Tools Required

You produce your artificer spell effects through your tools. You must have a spellcasting focus – specifically tinker’ tools or some kind of artisan’s tool – in hand when you cast any spell with this Spellcasting feature. You must be proficient with the tool to use it in this way.

"Artisan’s tool" is singular. But it can refer to a set of objects.

For example:

Weaver’s tools include thread, needles, and scraps of cloth.

Weaver’s tools are an artisan’s tool but does an artificer proficient with them need to hold the needle, thread, and cloth in one hand to cast spells?

For example, the party has been striped of all their belongings but not their clothes. Can an artificer with proficiency in weaver’s tools tear off a scrap of their clothing and begin casting?

Does the verbal component for spellcasting have to be words?

To make a long story short: for my first D&D campaign, I want to create a warlock that had to give up her voice as a part of her deal with her Patron.

As such, she is incapable of speaking, but she can still produce sounds with her mouth. I was wondering if that would incapacitate her from casting spells with a Verbal component.

Do spells needs a specific phrase to be cast, or does gibberish work?

What values can we use in `formattingControls` parameter in RichText component

Documentation says:

  • formattingControls={ [ 'bold', 'italic' ] } // Allow the content to be made bold or italic, but do not allow other formatting options

… but I can’t find a list of all the values ​​that we can use there.

I know about bold, italic, link, strikethrough but there are more elements.

So what is the complete list of supported values?

Which is easier to use for a new dnd player? Component Pouch or Arcane Focus?

I just got into dnd and am creating my first character (a half elf wizard). I am at the starting equipment section, and can’t chose between the component pouch or arcane focus. I have looked up the pros and cons of both, but I am still indecisive. Is one easier to use than the other? This game is already pretty confusing so if one is easier to use it’d be very helpful to know. Have a wonderful day!

What’s better for a new dnd player, component pouch or arcane focus?

I’m just starting out in dnd and creating my first character (a half-elf wizard) and I’m at the equipment section. I’ve looked up the differences between the component pouch and arcane focus and can’t decide! Should I chose the component pouch because it’s more expensive and therefore harder to get later? Should I get an arcane focus and have it double as a quarter staff? Should I just buy a cheap sack thingy instead of the component pouch? Is one easier to use than the other? I don’t know!

Simplifying spell component management

I have started a new campaign and am considering making life a little easier for my spell casters by not expecting them to source and find all there components ahead of time. Especially where components are destroyed. Instead being willing to allow them to operate a tax system. If a spell requires a 1000GP gem bowl just have them remove 1000GP from the inventory instead of making them find and buy the bowl. One of the main reasons for this is that the new party has a druid, cleric and paladin so a lot of spells potentially for them to go and source components for and as new players I want to try and streamline things a bit.

Is this an accepted standard mechanic for managing spell caster components or are there other ways of simplifying this aspect of spell management.