Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
tinymce-vue-2
Advanced tools
Readme
A vue 2 component for TinyMCE.
npm install tinymce-vue-2
import TinyMCE from 'tinymce-vue-2';
Vue.component('tiny-mce', TinyMCE);
Using the default options, you just need to pass an id and a model
<tiny-mce id="description" v-model="description"></tiny-mce>
Check the binding by doing something like <div v-html="description"></div>
anywhere in your
template.
Check bellow on how to configure and extend the editor.
Pass a prop called menubar which is either a string or a string variable. It can either be a string or a boolean
<tiny-mce id="descriptionLong"
v-model="descriptionLong"
:toolbar="'undo redo'"
></tiny-mce>
Pass a prop called toolbar which is either a string or a string variable to set the toolbar
<tiny-mce id="descriptionLong"
v-model="descriptionLong"
:toolbar="'undo redo'"
></tiny-mce>
It can also be an array which will set multiple toolbars
[
'undo redo | styleselect | bold italic | link image',
'alignleft aligncenter alignright'
]
or even a boolean like false
to disable it
You can pass any of the documented options to the editor using the otherProps property like so
<tiny-mce id="descriptionLong"
v-model="descriptionLong"
:other-props="{min_height:500, elementpath: false, allow_conditional_comments: false}"
></tiny-mce>
This allows you to freely configure the editor since all it does is merging your object
with the tinymce
one
FAQs
A vue 2 component for TinyMCE
The npm package tinymce-vue-2 receives a total of 445 weekly downloads. As such, tinymce-vue-2 popularity was classified as not popular.
We found that tinymce-vue-2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.