@ef2/strapi-plugin-bold-title-editor
v1.0.9
Published
A bold title/text editor to accent certain parts
Downloads
876
Keywords
Readme
Strapi plugin Bold title editor
A bold title/text editor to accentuate certain parts through HTML or Markdown.
✨ Features
- Different output options: choose between HTML and Markdown.
- Actions: accentuate certain parts, preview code output and clear text format.
⏳ 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
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} />