mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
d26f833f1b
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2.2 KiB
2.2 KiB
@bbob/vue3
3.0.2
Patch Changes
-
#191
0c78831Thanks @JiLiZART! - Now HTML5 Preset supportscolortag[color="red"]Red Text[/color]Also fixes bug with case insensitive tags in
onlyAllowTagsNow you can pash1andH1and they will be treated as same tags -
Updated dependencies [
0c78831]:- @bbob/core@3.0.2
- @bbob/html@3.0.2
- @bbob/plugin-helper@3.0.2
3.0.1
Patch Changes
-
#186
603c3eaThanks @JiLiZART! - Fixes bug where nested tagquotelost[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
49065d2Thanks @JiLiZART! - # Vue3 supportNow you can use
@bbobparser invue3Example usage
npm i @bbob/vue3 @bbob/preset-vueimport { defineComponent } from "vue"; import VueBbob from "@bbob/vue3"; Vue.use(VueBbob);<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]:- @bbob/core@3.0.0
- @bbob/html@3.0.0
- @bbob/plugin-helper@3.0.0