![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@readybytes/rb-vue-editor
Advanced tools
A vue2 text editor to beautify the text and text box with elegant editing properties.
npm install --save @readybytes/rb-vue-editor
or
yarn add @readybytes/rb-vue-editor
<script>
import RBVueEditor from "@readybytes/rb-vue-editor";
export default {
name: "HelloWorld"
components: {
RBVueEditor
}
}
<script>
<RBVueEditor v-model="text"></RBVueEditor>
<RBVueEditor
v-model="text"
:config="{
placeholder: 'Type...',
background: '#1A76D2',
}"
@on-update="onUpdate"
></RBVueEditor>
<RBVueEditor
v-model="text"
type="textarea"
:config="{
placeholder: 'Type...',
background: '#1A76D2',
family: 'sans-serif',
size: 'large',
color: '#000000',
bold: true,
italic: true,
width: 300,
borderColor: '#1A76D2'
}"
@on-update="onUpdate"
></RBVueEditor>
type
config
Name | Type | Required | Description | Support Values |
---|---|---|---|---|
placeholder | String/Null | No | The placeholder for the text box. | any string |
bold | Boolean | No | To bold the text. | true/false |
italic | Boolean | No | To italic the text. | true/false |
color | String/Null | No | To change the color of the text. | any hex color value |
background | String/Null | No | To change the color of the text box. | any hex color value |
size | String/Null | No | To change the font size of the text. | "xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","smaller","larger","inherit","initial","unset", |
family | String/Null | No | To change the font family of the text. | "serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong" |
width | String/Number | No | To change the width of the text box. | 300 or "300" |
borderColor | String | No | To change the border color of the text box. | any hex color value |
on-update
This event will fire when any style will be updated. i.e-
<template>
<RBVueEditor
v-model="text"
type="textarea",
:config="{
placeholder: 'Type...',
background: '#1A76D2',
family: 'sans-serif',
size: 'large',
color: '#000000',
bold: true,
italic: true,
width: 300,
borderColor: '#1A76D2'
}"
@on-update="onUpdate"
>
</RBVueEditor>
</template>
<script>
export default {
data() {
return {
text: "Hello World",
}
}
methods:{
onUpdate(event) {
console.log(event)
}
}
}
</script>
FAQs
A vue2 text editor to beautify the text and text box with elegant editing properties.
We found that @readybytes/rb-vue-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.