New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

single-line-editor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-line-editor

A minimal rich text field for [Strapi](https://strapi.io) content types. Supports **bold**, _italic_, and ~~strikethrough~~ formatting — all in a single line.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

📝 Strapi Plugin: Single Line Rich Text

A minimal rich text field for Strapi content types.
Supports bold, italic, and strikethrough formatting — all in a single line.

Built with Tiptap and designed for simplicity.

Preview

✨ Features

  • Single-line rich text input
  • Basic formatting: bold, italic, strikethrough
  • Keyboard shortcuts supported
  • Prevents multiline input (no Enter key)
  • Seamless integration with the Strapi admin panel

🚀 Installation

Using your favorite package manager:

npm install single-line-editor
# or
yarn add single-line-editor
# or
pnpm add single-line-editor

🧩 Usage

In the Strapi Content-Type Builder, add a new Custom Field.

Choose: Single Line Editor

Save and use as a single-line formatted input in your collection types.

🛠 Customization

Out of the box, the plugin limits formatting to:

  • Bold (⌘/Ctrl + B)

  • Italic (⌘/Ctrl + I)

  • Strikethrough (⌘/Ctrl + Shift + X)

No headings, lists, or multi-line input are allowed.

🧑‍💻 Contributing

Pull requests and improvements are welcome!

If you'd like to add more formatting options, toolbar buttons, or settings — feel free to fork or open a PR.

📄 License

MIT

Keywords

richtext

FAQs

Package last updated on 05 May 2025

Did you know?

Socket

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.

Install

Related posts