update package.json and README.md

This commit is contained in:
Денис Строков
2023-02-13 01:06:48 +03:00
parent e34226efb8
commit b0abbd9df8
3 changed files with 22 additions and 15 deletions

View File

@ -1,4 +1,4 @@
name: wc-wysiwyg-editor package name: wc-wysiwyg package
on: on:
release: release:

View File

@ -3,16 +3,13 @@
WC-WSIWYG HTML5 Editor written in TypeScript and designed by web-componennt, support all JS frameworks and browsers. WC-WSIWYG HTML5 Editor written in TypeScript and designed by web-componennt, support all JS frameworks and browsers.
See full demo - [wc-wysiwyg demo](https://webislife.ru/demo/wc-wysiwyg/) list and demo of all editor features See full demo - [wc-wysiwyg demo](https://webislife.ru/demo/wc-wysiwyg/) list and demo of all editor features
## Install
```
npm i wc-wysiwyg-editor --save
```
## Features ## Features
✅ Multilingual support via [HTMLElement.lang](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang) attribute 🇷🇺/🇺🇸 supported by default ✅ Multilingual support via [HTMLElement.lang](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang) attribute 🇷🇺/🇺🇸 supported by default
✅ 🌐 Support all major browsers
✅ 🚀 Reusable between all major JS frameworks
✅ CSS styles for all popular HTML5 tags ✅ CSS styles for all popular HTML5 tags
✅ CSS support for 🔥 in bulleted lists ✅ CSS support for 🔥 in bulleted lists
@ -24,11 +21,12 @@ npm i wc-wysiwyg-editor --save
✅ Storing value in `window.localStorage` and restoring after reload, check in comment form below ✅ Storing value in `window.localStorage` and restoring after reload, check in comment form below
✅ Eetting editable properties of any tags, the number of tags and attributes are configurable ✅ Eetting editable properties of any tags, the number of tags and attributes are configurable
✅ Autocomplete as you type / for supported tags in new paragraph
Text\HTML5 view switcher Autocomplete as you type `/` for supported tags in new paragraph
Size Clear Button `Ⱦ` `Text\HTML5` view switcher
✅ Clear format tag button `Ⱦ`
✅ Live preview ✅ Live preview
@ -36,12 +34,19 @@ npm i wc-wysiwyg-editor --save
- `ALT`+`SPACE` toggle the current caret pointer outside the tag - `ALT`+`SPACE` toggle the current caret pointer outside the tag
- `ESCAPE` close bottom editor dialog box - `ESCAPE` close bottom editor dialog box
✅ Validation required, minlength, maxlength, filtertags ✅ Validation `required`, `minlength`, `maxlength`, `filtertags`
✅ Inserting `<audio>` element ✅ Inserting `<audio>` element
✅ Inserting `<video>` element ✅ Inserting `<video>` element
## Install
```
npm i wc-wysiwyg-editor --save
```
## Commands ## Commands
- Available package commands - Available package commands

View File

@ -1,8 +1,9 @@
{ {
"name": "@webislife/wc-wysiwyg", "name": "@webislife/wc-wysiwyg",
"version": "0.9.1", "version": "0.9.2",
"description": "WYWSIWYG HTML5 Editor written in ts and designed by web-componennt, support all JS frameworks and browsers", "description": "WYWSIWYG HTML5 Editor written in ts and designed by web-componennt, support all JS frameworks and browsers",
"main": "src/wc-wysiwyg.ts", "main": "dist/wc-wysiwyg.js",
"type": "module",
"scripts": { "scripts": {
"sass": "./node_modules/node-sass/bin/node-sass ./src -o ./dist", "sass": "./node_modules/node-sass/bin/node-sass ./src -o ./dist",
"tsc": "./node_modules/.bin/tsc", "tsc": "./node_modules/.bin/tsc",
@ -16,7 +17,8 @@
"keywords": [ "keywords": [
"web-component", "web-component",
"custom-element", "custom-element",
"time", "html5 editor",
"wysiwyg",
"html5", "html5",
"esnext", "esnext",
"typescript" "typescript"