# Block parts and site block types Source: [Block parts and site block types](https://typeroll.com/docs/tools/blocks/parts/) > Style the parts of built-in and site block types, and how site block types behave in the editor, API and publication. Part of the [block reference](https://typeroll.com/docs/tools/blocks/). Changes by Core release are listed in [Block changes by Core version](https://typeroll.com/docs/tools/blocks/changelog/). ## Site block types When the library doesn’t fit, an editor or site administrator builds a block type for the site: composed from existing blocks (recommended) or with its own markup, with editable fields, repeating groups and scoped CSS. See [Site block types](https://typeroll.com/docs/tools/custom-block-types/). Caution **Block JavaScript runs in every visitor’s browser.** Through MCP and the API, `create_block_type` and `update_block_type` accept a `script` field, and `core/embed` accepts `js`, under your API key’s authority — the same content-authoring permission. This is also available to editors through personal OAuth and in the portal’s block-type editor (“Activate JS”). The write is stored as sent and recorded in the API audit log like any other change. Review scripts like deployed code, and never paste script you copied from untrusted content without reading it first. A `