mirror of
https://github.com/webislife/wc-wysiwyg.git
synced 2025-07-21 05:47:26 +00:00
update package.json and README.md
This commit is contained in:
2
.github/workflows/release-package.yml
vendored
2
.github/workflows/release-package.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: wc-wysiwyg-editor package
|
name: wc-wysiwyg package
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
27
README.md
27
README.md
@ -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
|
||||||
|
@ -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"
|
||||||
|
Reference in New Issue
Block a user