
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
vue-wysiwyg-fixed
Advanced tools
This is a fork of chmln/vue-wysiwyg that solves some issues I was having with copy paste.
npm install vue-wysiwyg-fixed --save
OR
yarn add vue-wysiwyg-fixed
In your main.js
:
import wysiwyg from "vue-wysiwyg-fixed";
Vue.use(wysiwyg, {}); // config is optional. more below
Also make sure to load the stylesheet. The exact syntax will depend on what preprocessor you use.
@import "~vue-wysiwyg-fixed/dist/vueWysiwyg.css";
In your components:
<wysiwyg v-model="myHTML" />
All keys are optional.
{
// { [module]: boolean (set true to hide) }
hideModules: { "bold": true },
// you can override icons too, if desired
// just keep in mind that you may need custom styles in your application to get everything to align
iconOverrides: { "bold": "<i class='your-custom-icon'></i>" },
// if the image option is not set, images are inserted as base64
image: {
uploadURL: "/api/myEndpoint",
dropzoneOptions: {}
},
// limit content height if you wish. If not set, editor size will grow with content.
maxHeight: "500px",
// set to 'true' this will insert plain text without styling when you paste something into the editor.
forcePlainTextOnPaste: true,
// set to 'true' this will strip tags when you paste something into the editor (ignored if forcePlainTextOnPaste = true).
stripTagsOnPaste: true,
// If stripTagsOnPaste = true then use this option to allow tags (attributes will still be stripped)
allowedTags: [],
// specify editor locale, if you don't specify this, the editor will default to english.
locale: 'hu'
}
Available Modules:
Available Locales:
Note on the image upload API endpoint:
multipart/form-data
http://myapp.com/images/12345.jpg
FAQs
A WYSIWYG HTML editor for Vue.js
The npm package vue-wysiwyg-fixed receives a total of 25 weekly downloads. As such, vue-wysiwyg-fixed popularity was classified as not popular.
We found that vue-wysiwyg-fixed 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.