2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-17 19:21:20 +03:00

fix(293): [color] tag doesn't work in React (#294)

* fix: react color preset

* chore: changeset great-beds-shop.md

* fix: tests

* chore: text fixes
This commit is contained in:
Nikolay Kost
2025-10-05 15:38:17 +02:00
committed by GitHub
parent e943184294
commit 40041a0680
5 changed files with 82 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
---
"@bbob/parser": patch
"@bbob/types": patch
"@bbob/cli": patch
"@bbob/core": patch
"@bbob/html": patch
"@bbob/plugin-helper": patch
"@bbob/preset": patch
"@bbob/preset-html5": patch
"@bbob/preset-react": patch
"@bbob/preset-vue": patch
"@bbob/react": patch
"@bbob/vue2": patch
"@bbob/vue3": patch
---
Now `React` preset `@bbob/preset-react` supports `color` tag
```js
import preset from '@bbob/preset-react'
import { render } from '@bbob/react'
const html = render('[color=#ff0000]This text should be red[/color]', preset());
```