SMARTBLOCKS:_CUSTOMIZATION

{{[[embed]]: ((3VJxxNhEu))}}

Customizing the trigger

The default trigger for smart block is jj however this can be changed.

Any where in your graph add a block that looks like this:

#42Setting SmartBlockTrigger @@

Rules for configuring the trigger

  1. First you need the tag #42Setting
  2. Followed by the name of the setting, in this case SmartBlockTrigger
  3. Followed by the character sequence you want to use as the trigger
  4. Refreshing the browser is required after changing this setting

Disable popup help

By default, when inserting commands into a SmartBlock that you are building, Roam42 shows a little popup notification for 20 seconds to help you know the purpose and parameters of a command. This can be disabled by adding this to your graph:

#42Setting SmartBlockPopupHelp disabled

Rules for configuring the trigger

  1. First you need the tag #42Setting
  2. Followed by the name of the setting, in this case SmartBlockPopupHelp
  3. Followed by disabled
  4. Refreshing the browser is required after changing this setting

CSS Customization to the #42SmartBlock tag

The following is an example of how the tag and image can be access through CSS:

.rm-page-ref-tag[data-tag="42SmartBlock"] {
  content: url(https://i.ibb.co/Jp3zZgR/lego3blocks.png);
  height: 14px;
}```