# @lblod/say-roadsign-regulation-plugin

> Say Editor plugin as part of the LBLOD project

Latest version **3.1.0** (published 2026-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lblod/say-roadsign-regulation-plugin
pnpm add @lblod/say-roadsign-regulation-plugin
yarn add @lblod/say-roadsign-regulation-plugin
bun add @lblod/say-roadsign-regulation-plugin
```

## Health

**Score 55/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2026-09-02 |
| First published | 2026-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 13 |
| Unpacked size | 314.7 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 18 |
| Author | redpencil.io |
| Maintainers | erikap, nielsv, madnificent, cecemel, clairelovisa, dietr, oscar.redpencil, aatauil |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/@lblod/say-roadsign-regulation-plugin
- Repository: https://github.com/lblod/ember-rdfa-editor
- npm.io page: https://npm.io/package/@lblod/say-roadsign-regulation-plugin

## Dependencies (13)

- [zod](https://npm.io/package/zod.md) ^3.24.1
- [uuid](https://npm.io/package/uuid.md) ^9.0.1
- [typedoc](https://npm.io/package/typedoc.md) ^0.28.17
- [reactiveweb](https://npm.io/package/reactiveweb.md) ^1.9.1
- [ember-modifier](https://npm.io/package/ember-modifier.md) ^4.2.2
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^8.2.0
- [ember-cli-htmlbars](https://npm.io/package/ember-cli-htmlbars.md) ^6.3.0
- [ember-truth-helpers](https://npm.io/package/ember-truth-helpers.md) ^5.0.0
- [decorator-transforms](https://npm.io/package/decorator-transforms.md) ^2.3.1
- [@embroider/addon-shim](https://npm.io/package/@embroider/addon-shim.md) ^1.10.2
- [@glint/tsserver-plugin](https://npm.io/package/@glint/tsserver-plugin.md) 2.1.0
- [ember-template-imports](https://npm.io/package/ember-template-imports.md) ^4.4.0
- [@ember/optional-features](https://npm.io/package/@ember/optional-features.md) ^2.3.0

## Recent versions

- 3.1.0 (latest) — 2026-09-02
- 3.1.0-dev.048db243d4fb02260bb3080f6810bde0f83126d5 (dev) — 2026-11-26
- 3.0.0-dev.97503517d2e00736f530ebb13a94de79d1eae7bc — 2026-08-04
- 3.0.0-dev.137196403cb28eb02b7b1b7740b95fb9a0b81ef9 — 2026-08-04
- 3.0.0-dev.bfbbde6f74ad32efde22859d1374b2650512df7c — 2026-07-31
- 3.0.0-dev.34ff5d8c28ceab54f36159bb69c633376893c7dc — 2026-07-30
- 3.0.0-dev.7fcab1a9180e1d9cdeb23cdf04bb6dffaaa2ab3a — 2026-07-29
- 3.0.0 — 2026-07-01
- 2.0.0 — 2026-06-26
- 1.0.1-dev.bf0afd49d398a6da5e6e06e57ef8a298a85f62c3 — 2026-06-26
- 1.0.1 — 2026-06-24
- 0.1.0-dev.8ae3aa423773c50b86bebed1fcace57d8631054d — 2026-06-17

## README

# @lblod/say-roadsign-regulation-plugin

[![Build Status](https://build.redpencil.io/api/badges/402/status.svg)](https://build.redpencil.io/repos/402)

A plugin for [say-editor](https://say-editor.com) RDFa aware text editor, which fetches data from the [MOW regulation and roadsign registry](https://register.mobiliteit.vlaanderen.be) and allows users to insert roadsign regulations inside an editor document. This data is maintained by experts at [MOW Vlaanderen](https://www.vlaanderen.be/departement-mobiliteit-en-openbare-werken).

This plugin provides a card that needs to be added to the editor sidebar:

```gts
import RoadsignRegulationCard from "@lblod/say-roadsign-regulation-plugin/components/roadsign-regulation-card";

<template>
  <RoadsignRegulationCard
    @controller={{this.controller}}
    @options={{this.config.roadsignRegulation}}
  />
</template>
```

You will need to set the following configuration in the config object

```js
{
  endpoint: 'https://dev.roadsigns.lblod.info/sparql',
  imageBaseUrl: 'https://register.mobiliteit.vlaanderen.be/',
  articleUriGenerator: `http://data.lblod.info/artikels/${uuidv4()}`,
}
```

The `endpoint` from where the plugin will fetch the roadsigns, and the `imageBaseUrl` is a fallback for the images that don't have a baseUrl specified. This won't be used if your data is correctly constructed. The `articleUriGenerator` generates the URIs used for decision articles that the plugin generates.

## Prosemirror node-specs

This plugin defines the following node-spec, which only needs to be added to the Prosemirror schema for backwards compatibility if supporting older documents created using this plugin:

```
import { roadsign_regulation } from '@lblod/say-roadsign-regulation-plugin/plugin/nodes';
```

---
_Source: https://npm.io/package/@lblod/say-roadsign-regulation-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
