ef2-digital / strapi-plugin-bold-title-editor

7 stars 2 forks source link

Strapi plugin Bold title editor

A bold title/text editor to accentuate certain parts through HTML or Markdown.

✨ Features

⏳ Installation

# Using Yarn
yarn add @ef2/strapi-plugin-bold-title-editor

# Or using NPM
npm install @ef2/strapi-plugin-bold-title-editor

Then, you'll need to build your admin panel:

# Using Yarn
yarn build

# Or using NPM
npm run build

🎉 Usage

bold title editor screenshot

HTML

React/Next.js

<h1 dangerouslySetInnerHTML={{ __html: title }} />
<h3><a href="#" dangerouslySetInnerHTML={{ __html: title }} /></h3>

Vue

<h1 v-html="title" />
<h3><a href="#" v-html="title" /></h3>

Markdown

React

import ReactMarkdown from 'react-markdown'

<ReactMarkdown children={title} />