2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-17 19:21:20 +03:00
Files
bbob/packages/bbob-vue3/CHANGELOG.md
T
github-actions[bot] d26f833f1b chore(release): publish v3.0.2 (#192)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 04:38:31 +03:00

87 lines
2.2 KiB
Markdown

# @bbob/vue3
## 3.0.2
### Patch Changes
- [#191](https://github.com/JiLiZART/BBob/pull/191) [`0c78831`](https://github.com/JiLiZART/BBob/commit/0c78831372b02216c9be5d95cd8b857c18f81540) Thanks [@JiLiZART](https://github.com/JiLiZART)! - Now HTML5 Preset supports `color` tag
```
[color="red"]Red Text[/color]
```
Also fixes bug with case insensitive tags in `onlyAllowTags`
Now you can pas `h1` and `H1` and they will be treated as same tags
- Updated dependencies [[`0c78831`](https://github.com/JiLiZART/BBob/commit/0c78831372b02216c9be5d95cd8b857c18f81540)]:
- @bbob/core@3.0.2
- @bbob/html@3.0.2
- @bbob/plugin-helper@3.0.2
## 3.0.1
### Patch Changes
- [#186](https://github.com/JiLiZART/BBob/pull/186) [`603c3ea`](https://github.com/JiLiZART/BBob/commit/603c3ead0f2b895a447dd9cfe98ce6ef27eec79c) Thanks [@JiLiZART](https://github.com/JiLiZART)! - Fixes bug where nested tag `quote` lost
```
[color=red]test[/color]
[quote]xxxsdfasdf
sdfasdfasdf
[url=xxx]xxx[/url]
```
Now content not will be lost, but not closed tag will displayed as raw text
## 3.0.0
### Major Changes
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
Now you can use `@bbob` parser in `vue3`
Example usage
```shell
npm i @bbob/vue3 @bbob/preset-vue
```
```js
import { defineComponent } from "vue";
import VueBbob from "@bbob/vue3";
Vue.use(VueBbob);
```
```html
<template>
<div class="vue3">
<h2>Generated vue3 here</h2>
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
</div>
</template>
<script>
import { defineComponent } from "vue";
import preset from "@bbob/preset-vue";
export default defineComponent({
name: "App",
data() {
return {
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
plugins: [preset()],
};
},
});
</script>
```
### Patch Changes
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
- @bbob/core@3.0.0
- @bbob/html@3.0.0
- @bbob/plugin-helper@3.0.0