
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tiptap-editor
Advanced tools
Vue component that contains our custom setup for the tiptap editor. Able to highlight phrases and give reasons/fixes to the warnings
npm i tiptap-editor
yarn add tiptap-editor

<template>
<TextEditor
:value.sync="localtext"
:warnings="warnings"
:showMenu="true"
:maxCharacterCount="200"
height="500px"
placeholder="write something will-ya!"
id="some_unique_id"
/>
</template
<script>
import tiptapEditor from './tiptap-editor.vue';
export default {
components: { tiptapEditor },
data() {
return {
warnings: [],
value: 'this is the initial value'
}
}
}
</script>
value: String - the text to edit
placeholder: String - the text to display when there is nothing in the editor
warnings: [ Objects ] - an array of text that should be warned about
[
{
value: 'the',
message: 'did you mean...',
options: ['too', 'pizza'], // optional
},
{
value: 'test text',
message: 'cannot say that, sorry',
overrideClass: 'underlined-green', // optional
},
]
maxCharacterCount: Number - Show a count of the current number of characters. If over the max the count will show red
height: String - height of the text editor, default is 300px
showMenu: Boolean - if false, hide the format menu
id: String - give the editor a unique id. Also adds aria tags to link the editor menu to the text area
update:value - emitted whenever the core text value changes
new-character-count - the new internal character count of the value. This is useful since the synced value may have formatting, which internal is ignored when counting characters.
cd into the repo directory and run yarn installyarn serveyarn serve - start the dev serveryarn build - build for productionyarn preview - locally preview production buildyarn format - run Prettier to format codeyarn validate:format - run Prettier with --check flagyarn test - run tests using vitestFAQs
custom setup for the tiptap editor
The npm package tiptap-editor receives a total of 71 weekly downloads. As such, tiptap-editor popularity was classified as not popular.
We found that tiptap-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.