Overview:
SmartBlock.js is a JavaScript block-based editor that allows users to easily write content on websites, even with smartphones. It is compatible with IE11/Edge, Firefox, Chrome, Safari, and iOS Safari.
Features:
- Easy to use with SmartPhone: Users can easily write content on websites using their smartphones.
- Fully customizable: The editor is customizable to suit individual needs.
- Block based: Users can create content in blocks, making it easier to organize and manage.
- Keep clean HTML and wipe out unnecessary tags: The editor helps keep HTML clean and removes unnecessary tags.
- Get the result as HTML or JSON: Users can choose to get the content as HTML or JSON.
- Copy and paste contents: Users can easily copy and paste content into the editor.
Installation:
To install SmartBlock.js, follow these steps:
- Install via npm:
npm install smartblock
- Import SmartBlock in your project:
import SmartBlock from 'smartblock';
- Use SmartBlock in your code:
const editor = new SmartBlock(options);
Summary:
SmartBlock.js is a versatile JavaScript block-based editor that allows users to easily write content on websites, even on smartphones. With its customizable features and ability to generate clean HTML, SmartBlock.js provides a convenient solution for content creation and editing.